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 0
Charlie Rubeor wrote:
> Could you add the umask to /ud/bin/startunirpcd and restart unirpcd?
> I'm sure that is not the recommended solution and it might
> not even work, but it's worth a try.
That sounds reasonable; I'll give that a try. Meanwhile...
X.CMD = 'chmod 660 ':X.RPT.DIR:'/':X.RPT
: U2 Users Discussion List
Subject: RE: File permissions problem with UniObjects for Java
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.
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
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 perm
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
b
Wendy Smoak wrote:
> I have some UOJ code that runs a program on the database host and
> creates a file in _HOLD_.
>
> This is on HP-UX 11, and _HOLD_ has these permissions:
> drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_
>
> But, when I run the UOJ program, the file gets create
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
Wendy Smoak wrote:
I have some UOJ code that runs a program on the database host and
creates a file in _HOLD_.
This is on HP-UX 11, and _HOLD_ has these permissions:
drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_
But, when I run the UOJ program, the file gets created like this:
-r
I have some UOJ code that runs a program on the database host and
creates a file in _HOLD_.
This is on HP-UX 11, and _HOLD_ has these permissions:
drwxrws--- 2 user1live 37888 Mar 10 09:08 _HOLD_
But, when I run the UOJ program, the file gets created like this:
-rw-r--r-- 1 user
10 matches
Mail list logo