When it comes to setting up umasks on a system I prefer to set the default in 
the /etc/profile so that all who login in get this as default.  Then anybody 
else who needs a different umask set in their /home/username/.profile


-Dan
-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Augusto Alonso
Sent: Thursday, May 20, 2010 2:14 PM
To: U2 Users List
Subject: [U2] Question about umask

Hi.

Does anyone know how to change the default UMASK (022) inside a RPC
connection?

Our UV.LOGIN has a sentence:

UMASK 002

and it works from telnet connections.
But if I do a EXECUTE "CREATE.FILE xxxxx"  from inside a RPC connection, the
permissions of the new file are "-rw-r--r--".

Regards
--
Augusto Alonso
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to