Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vsftp and file permissons
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
Mardi
n00b
n00b


Joined: 17 Apr 2004
Posts: 25
Location: Aarhus, Denmark

PostPosted: Thu Aug 26, 2004 5:59 pm    Post subject: Vsftp and file permissons Reply with quote

Hello, I am currently running a vsftp server, which serves as a dropoff point for various data, between me and my friends.
Everything works fine, except that when a friend uploads a file for me to see, it is owned by him, and permissons so that i cant download or erase the file. Right now i solving the problem by sshing the dropoff and changing things so that i own the files. This is very anoying and time consuming (and time = money, and money talks... ehh). Is there a way to fix this?
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Thu Aug 26, 2004 7:17 pm    Post subject: Mardi? Today is Jeudi! Reply with quote

I suppose you're not allowing anonymous uploads, just in case you do, check the chown_uploads and chown_username options
For known users, set the file_open_mode and local_umask options. Defaults are respectively 0666 and 077. Using
Code:
local_umask=011
file_open_mode=0664
would leave uploaded files with -rw-rw-r--

Hth
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