Operating System - HP-UX
1820177 Members
3954 Online
109620 Solutions
New Discussion юеВ

Re: FTP put permission denied

 
David Land
Frequent Advisor

FTP put permission denied

Hey guys, I almost have finished an FTP script that allows me to FTP files from one Unix server to another, however I am running into an error. On one of the files I am FTPing over, I do a put statement and keep receiving a permission denied message.

I have checked the read and write permission as well as the user permission and they seem correct. What else could be causing this?
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: FTP put permission denied

Have you checked the directory permission of all directories in the path for the directory you want? If one directory has permissions just a bit wrong, then that could effect the whole tree.

David Land
Frequent Advisor

Re: FTP put permission denied

Yes I have checked the directory permissions and they look the same.
Sundar_7
Honored Contributor

Re: FTP put permission denied

If you can, manually login to the system using telnet with the username/password and trying to create a dummy file in that directory.

This may sound like a long shot but is there a ftpaccess file in the FTP server that prevents upload to the directory ?
Learn What to do ,How to do and more importantly When to do ?
David Land
Frequent Advisor

Re: FTP put permission denied

Earlier I stated that the permissions were the same between both systems. They were not. I was missing the write permission and once I added it in, it works.
lawrenzo
Trusted Contributor

Re: FTP put permission denied

another thing to look out for if your not getting access to certain server's is check the

/etc/ftpd/ftpusers file

if your username has an entry in here then you cannot FTP, this file is updated daily by the system to add all users into in unless configured otherwise

/etc/ftpd/ftpusers.exeptions

hello