SUMMARY: ftp and umask
"Brehl, Blake" <[email protected]>
| Newsgroups | gmane.os.tru64.managers |
|---|---|
| Message-ID | <57E10DFCFC307B43AE8E93A06FAF8E4E01BA1C77@moh-exc-006.main.intgin.net> |
Original below. FTP doesn't read the .profile. Found the SITE command supported by the ftpd, which solves the immediate problem. ftp> binary ftp> site umask 002 200 UMASK set to 002 (was 022) ftp> put somefile Also found HPUX supports calling the ftpd in inetd.conf with a call -u 022, and the client session inherits the umask of the account running the ftpd. Didn't find the -u in the Tru64 man pages and didn't try it. It may be possible to run ftpd out of another account. Best Regards, Blake -----Original Message----- Tru64UNIX V5.1a sp3 trying to ftp from one Alpha to another and have the permissions arrive as 664. Doesn't seem to matter what the source file permissions are, the target always arrives as 644. The target server /etc/profile umask is 022, the account used for ftp has 002 umask in the .profile. Touching a file becomes the desired 664. Any ideas? Best Regards, Blake Brehl Sys Admin/DBA Anritsu Company United States Morgan Hill, CA [email protected] This message is intended for the use of the individual/entity to whom it is addressed. This message may contain privileged information exempt from disclosure. If you are not the addressee, distribution or copying of this message, or dissemination of the information contained herein, is strictly prohibited. If you should receive this message in error, please destroy it, or return to sender. Thank You.