>The UMASK in UNIX controls the permission bits that get set.  

No, this is not correct. UMASK controls the bits that will *not*
be set upon file creation. With umask 000, the bits initially
set on a new file solely depend on the program creating the 
file. When umask is anything other than 000, the permission 
bits corresponding to the bits *set* in the umask will *not* 
be set on the new file no matter what the creating program 
specifies.

The creating program in the case of ftp, is the ftp server on 
'put' and the ftp client on 'get' commands.

As per documentation, z/OS ftp does never set the execution bit 
when creating z/OS UNIX files, and this is also what I see 
when testing. So, I wonder how you get 775 on your files.


Peter Hunkeler
CREDIT SUISSE

----------------------------------------------------------------------
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