PDA

View Full Version : chmod feiled under Web-FTP


gimi
25th July 2006, 12:03
When I tried to change the rights on a file or dircetory under the Web-FTP , I got the message "Chmod feiled" and I can't change these rights.
I am the adminitrator of the site.
So, what to do in this case? Thanks.

till
25th July 2006, 12:57
Please check with:

ls -la /path/to/your/file/

which permissions the file currently has.

gimi
25th July 2006, 13:43
Thanks for the quick answer

So, thi file rights are : -rw-rw-r (664) and
directory rights are : drwxrwxr-x (775)

gimi
25th July 2006, 17:25
ON /etc/proftpd.conf file I have

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>

It sems to be very restrictive.

Any opinion about?

till
26th July 2006, 09:43
ON /etc/proftpd.conf file I have

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>

Comment that out if you want to enable the chmod command.

As your FTP users are chrooted to their website directory, I dont see any problems when you enable the command.

gimi
26th July 2006, 11:24
YES, I think so !
Thanks Till for your precious help.