How to give write permissions to multiple users?
Posted
by
Daniel Rikowski
on Server Fault
See other posts from Server Fault
or by Daniel Rikowski
Published on 2010-08-09T09:03:31Z
Indexed on
2012/03/22
11:32 UTC
Read the original article
Hit count: 205
I have a web server and I'm uploading files using an FTP client. Because of that the owner and the group of the file are taken from the user used during the upload.
Now I have to make this file writable by the web server (apache/apache).
One way would be to just change the owner and the group of the uploaded file to apache/apache, but that way I cannot modify the file using the FTP account. Another way would be to give the file 777 permissions.
Both approaches seem not very professional and a little bit risky. Are there any other options? In Windows I can just add another user to the file. Can something similar done with Linux?
© Server Fault or respective owner