LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-25-2003, 10:14 AM   #1
k-bot
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
vsftpd umask not working


Hi there,
I'm trying to make files uploaded though vsftpd have 0775
permissions on the server.
An equivalent to wu-ftpds "defumask 0002" if you want.

local_umask=002
only seems to for for newly created files and dirs
on the server, not for uploaded ones.

file_open_mode=0777
is supposed to set permissions on uploaded files according to the manual.
I tried this option with several different perms but to no avail.
It doesn't seem to have any effect whatsoever
Any file that I upload keeps the permissions that it had on the client.

Can anybody help me out here?
 
Old 03-10-2004, 05:29 PM   #2
guest
Member
 
Registered: May 2003
Distribution: CentOS 5 64 bit
Posts: 255

Rep: Reputation: 30
Hi K-bot,
Here is what I have found. If you are using Virtual users, then their permissions are set according to the anon account (anon_umask). If you want the Virtual users to have separate permissions, then add 'virtual_use_local_privs=YES' in the vsftpd.conf file.

Hope this helps,
Higgy
 
  


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 not working pradsy90 Linux - Software 2 05-09-2008 10:19 AM
Can't get vsftpd working Kropotkin Linux - Networking 3 07-18-2005 03:23 PM
Umask in .bash_profile stopped working mariusak Linux - Newbie 5 06-03-2005 09:05 AM
VSFTPD Umask options and ownership dkrysak Linux - Software 0 09-10-2004 08:30 AM
vsftpd umask-problem hihachi Linux - Software 0 03-19-2003 05:16 PM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
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