Results 1 to 2 of 2
Can anyone tell me why I cant add files to my sftp server with my root, or sftp user accounts via filezilla, after "chown root:user /dir" and "chmod 750 /dir" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-04-2011 #1
- 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.
- 09-08-2011 #2
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 /dirWhat do we want?
When do we want 'em?
Doesn't really matter does it!?
Conkybots: Interactive plugins for your Conkys!