View previous topic :: View next topic |
Author |
Message |
Mardi n00b


Joined: 17 Apr 2004 Posts: 25 Location: Aarhus, Denmark
|
Posted: Thu Aug 26, 2004 5:59 pm Post subject: Vsftp and file permissons |
|
|
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 |
|
 |
neysx Retired Dev


Joined: 27 Jan 2003 Posts: 795
|
Posted: Thu Aug 26, 2004 7:17 pm Post subject: Mardi? Today is Jeudi! |
|
|
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 |
|
 |
|
|
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
|
|