Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
File permission problem when using FTP
Name: Fruit Mouse Date: November 14, 2001 at 15:54:20 Pacific
Comment:
When I transfer files from one AIX server to another using FTP command, I want to give the group write permission. I have set up my user's umask to 02, the File Creation Mask to 2 on both servers. But only "get" can work, "put" never can give the group write permission, I alway get rw-r--r-- when using "put". Could somebody give me any suggestion?
Name: James Boothe Date: November 15, 2001 at 06:45:57 Pacific
Reply:
When ftp makes the remote connection, it does not execute the login profile of that account, so it is not picking up that umask.
Before you do the put, ftp should allow you to execute a umask command, which of course is executed at the remote site. Works on HP-UX, but not familiar with AIX.
Also, there is an ftp config file that controls ftp behaviour on each server, including umask considerations.
James
0
Response Number 2
Name: Fruit Mouse Date: November 15, 2001 at 08:43:47 Pacific
Reply:
Thank you very much James. I've found the method to set up FTP umask in AIX. ftp> site umask 002 Now I can finish this task. Thanks again.
0
Response Number 3
Name: simon jespersen Date: March 21, 2002 at 05:00:02 Pacific
Reply:
There was a ftp config file mensioned for AIX, does anybody know where to find it on a AIX, and Solaris ?
Summary: You need to read up on 'chmod', the command to set file permissions. In UNIX/Linux you can set permissions for three different sets of users: - the user/owner of the file - the group (users who are in...
Summary: Where do I specify the default file permission. When I do a FTP I want the files to have 755 permission by default without having to change them manually. Thanks Al ...
Summary: Hello, I have a script called "change" that lives in the following directory: /home/controlm/measurements/ The /home/controlm dir is the home dir for the controlm user ID. There will be multiple peopl...