proftpd allow user to specific folder
Here is my current proftpd.conf file
Code:
ServerName "Gentoo FTP" This is what I did: groupadd ftpuser chown ftp:ftpuser /var/ftp/ useradd -d /var/ftp -g ftpuser -s /bin/false john passwd john now I can login as john with my password, and end up in that directory...I thought if I was in the same group that I changed the directory's group ownership to that I would be able to read/write... I can only read and cannot upload files. Hope This explains basicly what Im trying to do. Much Thanks. |
You did chown, but did you chmod 660 /var/ftp to give the owner ftp and the group ftpuser read/write access?
|
lol, when I chmod 660 /var/ftp I get
Status: Connected with 192.168.1.103:666. Waiting for welcome message... Response: 220 ProFTPD 1.2.10 Server (Gentoo FTP) [192.168.1.103] Command: USER john Response: 331 Password required for john. Command: PASS ******** Response: 530 Login incorrect. Insted of logging in fine before... I dont know what to think :( |
You can always try 777 and then trim down your permissions if it is indeed a permission problem...
|
Quote:
|
All times are GMT -5. The time now is 01:52 AM. |