Re: User rights to update /var/www/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use vsftpd for this. As you already mentioned you will have this
'problem' with every ftp-server you use...

vsftpd looks standard to the home directory of the user loging in, so if you change someone's home dir in /etc/passwd to /var/www, he will go to /var/www the next time he logs in... BUT he needs file system rights to enter that
directory.

The best way to do this is creating some users who are an member of the group APACHE/OTHER WEBSERVER runs at. So you can see who has uploaded the file, and
all works fine!!

Good luck

Joost Waversveld

Or you could create a symlink in the user's home directory to the /var/www directory. Like the above says, just make sure that they have the permissions necessary to go to that directory.

jay


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux