RE: File permissions problem with UniObjects for Java

2004-03-15 Thread Adrian Merrall
Apologies for the delay. Wendy I had this same problem a while back. From memory the reason it works at the colon prompt but not from uniobjects it the umask. When you run udt it inherits it's umask from your environment. On linux I have a unidata.sh file in /etc/profile.d which sets it to

RE: File permissions problem with UniObjects for Java

2004-03-10 Thread Wendy Smoak
John Hester wrote: The default umask may be someplace like /etc/profile or /etc/default/login depending on your platform. Permissions on files created by OUJ logins on our system appear to be determined by the .profile of the UOJ login though. Don't know why yours would be different.

Re: File permissions problem with UniObjects for Java

2004-03-10 Thread John Hester
Wendy Smoak wrote: John Hester wrote: The default umask may be someplace like /etc/profile or /etc/default/login depending on your platform. Permissions on files created by OUJ logins on our system appear to be determined by the .profile of the UOJ login though. Don't know why yours would

RE: File permissions problem with UniObjects for Java

2004-03-10 Thread Charlie Rubeor
is what you got when you logged in. So, without knowing the UOJ code, can you add umask 002 or umask ug=rw,o=r -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:39 AM To: U2 Users Discussion List Subject: File permissions problem with UniObjects

RE: File permissions problem with UniObjects for Java

2004-03-10 Thread Wendy Smoak
Charlie Rubeor wrote: Off the top of my head, the default permissions and umask are 666 and 022, respectively. Subtracting the two gives you 644 or -rw-r--r--, which is what the UOJ code gave you. When you telnet, the .profile usually sets the umask to 002. Subtracting 002 from 666