5

Directory and file permission on ftp upload

view full story
linux-howto

http://serverfault.com – I have a basic linux server setup (setup locally on my network with no outside access) and i wanted to FTP files to the /var/www directory. I have installed vsftpd and i have access to the server via FTP on another machine. The problem i am having is the permissions on the directories and files uploaded are no the same as root, although i have setup a user with the admin user group which has root privileges. When i go to view the file i get a 403 Forbidden error. What is the best way for me to set this up so the files i upload as the user wftp have the permissions of root. I have followed (HowTos)