Need help with my VPS...

IMpossible

Supreme Member
Joined
Apr 15, 2012
Messages
1,344
Reaction score
304
Don't know where to put it so I put it here... Hope you guys can help me asap. Appreciate that!
I'm using a VPS with CentOS 5,
I installed ProFTPd on it, when I connect via filezilla and try to upload stuff, or anything else, it says "Error 503: Permission denied".
Any idea guys?
 
check the file permissions on what ever folder you are uploading to. i think you need to change the permissions to 777 if i am not mistaken
 
Maybe check user's credentials/directory permissions?.

Edit: What the user above said. Took a bit longer for me to reply I guess. Check your tmp's directory permissions as well.
 
check your conf file

Code:
<Directory> /home/ftp/upload/>
Umask 022 022
AllowOverwrite on
    <Limit READ RMD DELE>
          DenyAll
        </Limit>

        <Limit STOR CWD MKD>
          [B]AllowAll[/B]
        </Limit>
</Directory>
check also that your upload directory have 777 rights.
 
add your user name to the group which the folder belongs to and you shlould be fine.
 
I'm currently connecting by root (I know I shouldn't, it's a security risk) and I got my website in /var/www/html
However, whatever I do won't work, even if I try to change the permissions of let's say the html folder. Says permission denied. Can you guys please explain me how I change the /tmp/ folder with ssh commands?
 
chmod for changing permission levels
chgrp for changing owner/group
 
do you mean to change your actual upload folder to /tmp/ ? btw, you can use WinSCP to upload via ssh.

Do you mean I can screw FTP, remove my ftp server and just you WinSCP?
 
Do you mean I can screw FTP, remove my ftp server and just you WinSCP?
yep :) I dont have on any of my dedicated servers a ftp server running. it's going to take a bit longer to transfere data to the server because the port is secure.
 
Do you mean I can screw FTP, remove my ftp server and just you WinSCP?

Or get Filezilla. Then you can set the login type to SFTP (SSH FTP) and login as root/another SSH account. Much safer than standard FTP as you can use private keys, IP Whitelisting etc.
 
Just switch to SFTP, you'll most likely fix your permissions issues as well as eliminating a service which could be hacked someday.
 
Thanks for all your help guys. Appreciate that!
 
Back
Top