I've been struggling with my CentOS server for a while now, trying to add an account for (S)FTP access. I use sshd (OpenSSH) to connect to the ftp and with the root user everything is working just fine. When adding an account i can't access it with the SU command or FTP client. I've done a lot of research and i think the problem might have to do with the fact that my / folder has the wrong permissions.
ls -id / it outputs
(The / is blue)
I've heard it should be 755 but i don't know how to do this and i don't know if this will fix the entire problem.
To wrap things up, I need an SFTP account with access to a single directory and it's subfolders and no SSH but i can't even get it working as a normal user.
Thanks in advance, Martijn Oosterhuis