On 23/02/2010 19:51, glassfish_at_javadesktop.org wrote:
> Thanks again, Kedar. This is what is so strange about this scenario...all domains were created and are running as root, and the root user's umask setting has not been changed from one domain creation and start to another.
>
> It doesn't appear that these "rogue" permissions are affecting anything wrt the application. Can you think of any case when r-- --- --- permissions in those applications directories could cause issue? Is there any need for write or execute permission on the files and directories therein?
>
I can't think of one myself.... I assume the location is on a local disk
to the machine and isn't mounted from some other system over NFS, CIFS,
Samba etc?
> Thanks!
>
>
>> Ultimately when Java code meets the physical
>> platform, the low-level characteristics (e.g.
>> directory
>> permissions for the folders that Java code tries to
>> create) are determined by that platform. So, here,
>> maybe your "umask settings" came into play? e.g. when
>> you deployed an app in the server that
>> was started as a Java process by some user on that
>> machine, it's that user's umask settings that
>> determine the permissions on Unix platforms.
>>
>> Maybe none of this is what's happening on your
>> system. But it has got to be something similar
>> because I don't think deployment code in GlassFish
>> does "chmod" explicitly on application
>> folders. There is use of explicit chmod in glassfish
>> source code, but it is at different place (or
>> so I hope).
>>
>> -Kedar
>>
> [Message sent by forum member 'skeeny' (skeens_kristi_at_bah.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=388282
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>