>However, due to the nature of our app and infrastructure out app
>needs to be able to do things as different users.
Your one app needs to run with the permissions of several different
users? In a nutshell, Java isn't going to help you with this. In fact,
it'd be fairly awkward
infrastructure out app needs to be able to do things as different users. The
> only way I can think to do this is by having the JVM run as root and
> spawning threads that have the permissions x user. Is there another way to
> approach this problem? Is it passible for an app to spawn a
e of our app and
> infrastructure out app needs to be able to do things as different users. The
> only way I can think to do this is by having the JVM run as root and
> spawning threads that have the permissions x user. Is there another way to
> approach this problem? Is it passible for a
users. The
only way I can think to do this is by having the JVM run as root and
spawning threads that have the permissions x user. Is there another way to
approach this problem? Is it passible for an app to spawn a process as a
different user if they are not root? Thanks.
- Joel
--
Peter Pilgrim
G.O.A.T
"the Greatest Of All Time"
-- Forwarded by Peter Pilgrim on 14/03/2001 10:35
---
From: Peter Pilgrim on 14/03/2001 10:35
To: Joel Dudley <[EMAIL PROTECTED]>
cc:
Subject: Re: permis
connect with
another instantace of the external app and use the same JVM to create
directories and files of his own and obviously we want the permissions to
match the users for security reasons. Now if the jvm is started by user X do
all teh files created by the JVM with java io have the permissions of
Guess the first send didn't work
Patrick Ohnewein wrote:
>
> Now I have a Java app which creates files.
> Everything works as espected but the created files get the wrong file
> permissions.
>
> The user which uses the app has the following attributes:
> NAME: patr
Now I have a Java app which creates files.
Everything works as espected but the created files get the wrong file
permissions.
The user which uses the app has the following attributes:
NAME: patrick
GROUP: users
UMASK: 022
creating the file Test.dat in the directory
/Test with the following
Matthias Pfisterer wrote:
> Hi,
>
> it should be possible to determine this by trial-and-error. Remove that
> AllPermissions and run your program. Watch out for the first
> SecurityException. It usually can be derived from the error message
> which permission is missing. Grant this permissen, the
Joseph Shraibman wrote:
>
> Something else:
>
> I modified my permissions and granted accept resolv listen connect for a
> specific client machine. But that client machine still couldn't connect
> until I granted allpermissions. So obviously there is more than
> socet
All applications can listen on sockets on the localhost for ports 1024
and up. In addition I gave all files on my machine to connect and
resolv on localhost. If I try to do a Naming.lookup() from another
machine it will succeed, even though I didn't give rmiregistry accept
permission for anything
The glibc2.0 distribution contains incorrect permissions for
the jre/lib/i386/libsunwjit.so file. chmod it to 444 or 555
and the jit will magically start working :)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a
For those who are tripping over the broken permissions in the jdk1.2pre2
pre-release, here is the complete list of commands to fix them (based on
comparing to the glibc2.1-compatible tree, which isn't broken):
chmod 0775 jre/lib/i386/libsunwjit.so
chmod 0644 jre/lib/
13 matches
Mail list logo