Results 1 to 2 of 2
Thread: Chmod/Chown permissions help.
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jan 2010
Chmod/Chown permissions help.
I also have the CHrootDirectory option set to /dir as well in the sshd_config file
The users are jail'd, but no one can add files, not even the root user, it returns permission is denied, if any, including root attempts to add a file.
So I just have an empty sftp server x.x
I SHOULD be able to add files with my root user I would think, but I cant.
Never set up an FTP server but a couple of possibilities spring to mind.
1. 750 may need to be 760 (read(4) + write(2) = 6)
2. Won't it be the user (or group) that the FTP Server runs as that needs the permissions to /dir?
try the following
chmod 760 /dir chgrp WHATEVER_GROUP_THE_FTP_SERVER_RUNS_UNDER /dirShould you be sitting wondering,
Which Batman is the best,
There's only one true answer my friend,
It's Adam Bloody West!
The Fifth Continent