Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ftp creation of a new file - permissions of group

Status
Not open for further replies.

ui05067

MIS
Aug 24, 2001
18
0
0
US
scenario
box1 sending filea to box2 using ftp and user login: hci

file permissionson box1 for filea: -rw-rw-r-- 1 hci staff

directory "abc" on box2 permissions are: drwxrwsrwx 7 hci staff

umask of box2 user hci is 002

why is the file being created, filea, havepermissions of: -rw-r----- 1 hci staff ????

Why arent group permissions of file filea are "rw-" ?

aside: when im on box2 and log in to user hci and touch file "dog"....permissions are rw-rw-r--..what i desire.....

cause downt the road i want a utiliting script in the same group as staff to be able to delete the file.
 
You can set the ftp umask in /etc/inetd.conf

ftp ... ftpd -l -u077


Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top