Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1200
  • Last Modified:

vsftp access to var/www/html

I want to allow access to var/www/html to a specific set of users.  I can download from this directory, but cannot upload to the directory.  The error is a 550 permission denied error.  Below is my vsftp.conf file.

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=077
dirmessage_enable=YES

xferlog_enable=YES
connect_from_port_20=YES
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
local_root=/var/www/html
file_open_mode=0777


0
shatogar
Asked:
shatogar
1 Solution
 
David PiniellaCommented:
change the local_umask to 007 (or something less restricive than 077) so that non-owners of that dir can write to it.
0
 
shatogarAuthor Commented:
That seemed to solve the problem.  Thanks for the help.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now