View previous topic :: View next topic |
Author |
Message |
G3n2 Tux's lil' helper

Joined: 09 Aug 2004 Posts: 127
|
Posted: Sun Feb 13, 2005 5:34 pm Post subject: vsftpd permissions |
|
|
hello,
i've tryed the search function but haven't come up with a relative answer.
i've emerged vsftpd and then editted the config file:
click here
added a user and a password , now i've tried to connect to the ftp server , it works , but i cannot create,delete,update etc.
Code: |
226 Directory send OK.
MKD hello
550 Permission denied.
|
i have added the group 'webclients' to /etc/group and added a user to it .
did
Code: |
chgrp -R webclients /var/www/localhost/htdocs/user/*
chmod -R 774 user /var/www/localhost/htdocs/user/*
|
restarted vsftpd
Code: |
/etc/init.d/vsftpd restart
|
so i cant really create a directory or anything.
this is my first try ever on a ftp server so i dont really know what to try next.
any suggestions ?
thanks
-G3n2 |
|
Back to top |
|
 |
BofuR n00b


Joined: 30 Dec 2004 Posts: 16 Location: Norway
|
Posted: Sun Feb 13, 2005 7:23 pm Post subject: Re: vsftpd permissions |
|
|
I don't have to much experience with vsftpd myself, so this will perhaps be just a wild guess
G3n2 wrote: | but i cannot create,delete,update etc. |
If you look at your vsftpd.conf, almost at the top you can see
Code: | # Uncomment this to enable any form of FTP write command.
#write_enable=YES |
For you want to be able to write to the ftp server, wouldn't this line have to be uncommented?
Hope this helps  _________________ There are only 10 types of people in the world.
Those who understand binary, and those who don't...
Join the adopt an unanswered post initiative. |
|
Back to top |
|
 |
usui n00b


Joined: 24 Aug 2004 Posts: 51
|
Posted: Fri May 06, 2005 4:12 pm Post subject: |
|
|
Hello,
I use vsftpd and I have had the same problem that you are having. I was able to solve it simply by changing the permissions on the map where the users end up when they logging (for me that's the same map for any user). Now I was forced to change the permissions to 777 which isn't exactly ideal for security reasons. But since I don't see why anyone would try to hack me or something like that I don't really care :p
So simply do:
Code: | chmod -R 777 /dir where everyone ends up
|
and that should do it
Hope this helps
regards,
usui |
|
Back to top |
|
 |
hq4ever Apprentice


Joined: 15 Aug 2004 Posts: 167
|
|
Back to top |
|
 |
|