Web Hosting Talk







View Full Version : Weird FTP permission issue in cpanel


ChrisN1313
07-22-2009, 07:15 PM
1 User is not able to upload or change on their ftp.

Other users can. I know its something simple but cant find it. At least on my end. I logged into the ftp as that user and get a permission error if I try to upload a file.

UNIXy
07-22-2009, 07:26 PM
1 User is not able to upload or change on their ftp.

Other users can. I know its something simple but cant find it. At least on my end. I logged into the ftp as that user and get a permission error if I try to upload a file.

chmod -R 755 /home/<user>/public_ftp && chown -R <user>.<user> /home/<user>/public_ftp

ChrisN1313
07-22-2009, 07:53 PM
chmod -R 755 /home/<user>/public_ftp && chown -R <user>.<user> /home/<user>/public_ftp

no change. Rebooted ftp server as well

UNIXy
07-22-2009, 08:06 PM
no change. Rebooted ftp server as well

Can you copy/paste the exact command you ran on the shell? Also, provide the output of

grep ftp /var/log/messages

ChrisN1313
07-22-2009, 08:10 PM
Can you copy/paste the exact command you ran on the shell? Also, provide the output of

grep ftp /var/log/messages

check your pm

larwilliams
07-22-2009, 08:48 PM
chmod -R 755 /home/<user>/public_ftp && chown -R <user>.<user> /home/<user>/public_ftp

Also try,

chown -R <user>:<user> /home/<user>/public_ftp

ChrisN1313
07-22-2009, 08:53 PM
Also try,

chown -R <user>:<user> /home/<user>/public_ftp

that was it UNIXy was kind enough to help me out in a pm. Thanks agian UNIXy

larwilliams
07-22-2009, 08:58 PM
Cool. I don't know about you, but I've seen this happen on and off on cPanel servers. The latest problem is that the permissions get messed up and the backups don't include public_ftp because of it.