Is there any way to do this as a default?  That is, without inserting a command 
in the FTP stream.  The PC app is working through a GUI with no apparent place 
for the user to insert any commands.  We have an issue open with this vendor to 
see if they have a solution.  I am mostly ignorant on the workings of *nix.  
The programmer says she can do this with Windows so she/we should be able to do 
it in *nix.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Behalf Of Walt Farrell
Sent: Wednesday, June 14, 2006 12:59 PM
To: [email protected]
Subject: Re: Default permission bits on USS files


On 6/14/2006 1:07 PM, Klein, Kevin wrote:
  > I have a programmer that is FTPing from a PC app up to a USS(or 
whatever the current name is) directory on z/OS.  When the file gets 
created, it has its permission bits set to 775.  Of course, programmers 
being programmers, they want the bits to be 776 or 777.  Is there a way 
to tell USS that any new files created in this specific directory should 
have permission set to 777?

The UMASK in UNIX controls the permission bits that get set.  For FTP 
you can set the UMASK via SITE UMASK nnn (note that with some FTP 
clients you may need to use QUOTE SITE UMASK nnn).

See 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a1b950/5.63?SHELF=EZ2ZO10G&DT=20050708142126
 
or http://makeashorterlink.com/?W27B3244D for information about the SITE 
UMASK command.

        Walt Farrell, CISSP
        z/OS Security Design, IBM

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to