LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-22-2005, 11:37 AM   #1
uncfleece
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
vsftpd & anonymous file permissions


I'm having problems with anonymous uplods and those file permissions. Right now in the .conf file, I have among other things

file_open_mode=0666
anon_umask=007
local_umask=007

However, I get different permissions after an anonymous upload and a local
upload.

For anonymous file, i'll get something like -rw---------
For local files, I'll get something like -rw-rw----- (which is what I want)

Ideas? Need more info? Help!

Thanks
 
Old 09-24-2006, 10:23 PM   #2
sureshot324
Member
 
Registered: Mar 2004
Posts: 49

Rep: Reputation: 15
I'm having the same problem. My ftp server is set for anonymous login. When an anonymous user uploads a file, the permissions are -rw-------. I want them to be -rw-r--r-- so that anonymous users can download files that were uploaded by other anonymous users with me having to manually change the permissions of every file.

I've tried changing anon_umask and local_umask and it doesn't seem to do anything.
 
Old 01-01-2007, 08:14 AM   #3
vegav
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by uncfleece
I'm having problems with anonymous uplods and those file permissions. Right now in the .conf file, I have among other things

file_open_mode=0666
anon_umask=007
local_umask=007

However, I get different permissions after an anonymous upload and a local
upload.

For anonymous file, i'll get something like -rw---------
For local files, I'll get something like -rw-rw----- (which is what I want)

Ideas? Need more info? Help!

Thanks

I solve this problem by adding the local_umask=022 to the per user config file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd anonymous login r.stiltskin Linux - Networking 4 03-16-2007 11:19 PM
Vsftpd changes file permissions....how to correct? 88guy Linux - Software 1 05-25-2004 05:17 PM
VSFTPD Does not Allow Anonymous Downloads Nervo Linux - Networking 1 08-03-2003 07:13 AM
vsftpd and file/directory permissions dynamo|x Linux - Security 7 06-01-2003 09:37 PM
vsftpd anonymous uploads BigP Linux - Networking 3 03-07-2003 11:03 AM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration