Computing.Net > Forums > Unix > File permission problem when using FTP

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

Reply to Message Icon

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?



Sponsored Link
Ads by Google

Response Number 1
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 ?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: File permission problem when using FTP

file permission problem www.computing.net/answers/unix/file-permission-problem/5441.html

FTP default file permission www.computing.net/answers/unix/ftp-default-file-permission/2153.html

I am having a permissions problem www.computing.net/answers/unix/i-am-having-a-permissions-problem/5989.html