Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
G3n2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2004
Posts: 127

PostPosted: Sun Feb 13, 2005 5:34 pm    Post subject: vsftpd permissions Reply with quote

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
View user's profile Send private message
BofuR
n00b
n00b


Joined: 30 Dec 2004
Posts: 16
Location: Norway

PostPosted: Sun Feb 13, 2005 7:23 pm    Post subject: Re: vsftpd permissions Reply with quote

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 :D
_________________
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
View user's profile Send private message
usui
n00b
n00b


Joined: 24 Aug 2004
Posts: 51

PostPosted: Fri May 06, 2005 4:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
hq4ever
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 167

PostPosted: Sat May 14, 2005 5:32 pm    Post subject: Reply with quote

try

vim /etc/vsftpd/vsftpd.conf
:%s/local_umask=077/local_umask=000/c
(y)
:wq
_________________
"God doesn't play dice with the universe",
Albert Einstein.

sig: http://www.jr.co.il/humor/signatur.txt
avatar: david lanham, http://www.dlanham.com/goodies.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum