installiing joomla
Reindl Harald
h.reindl at thelounge.net
Sat Sep 14 17:19:59 UTC 2013
Am 14.09.2013 19:10, schrieb Matthew J. Roth:
> Please share some acceptable methods of allowing Apache to write files within
> DocumentRoot. Searching Google for "Apache write within DocumentRoot" yields a
> lot of results that recommend giving Apache write access. For example, the
> canonical answer about file permissions on a Linux web server at Server FaultĀ¹
> says:
>
> If you have folders that need to be writable by Apache, you can just modify
> the permission values for the group owner so that www-data has write access.
>
> chmod g+w uploads
> ls -l
> drwxrws--- 2 eve www-data 4096 Feb 5 22:52 uploads
www-data is *debian* because on Redhat the user/groups is named "apache"
if you use google add your distribution to the search string!
besides that there a *two* levels to care: FS-permissions *and* SELinux
chown apache:apache /path/to/folder/
chmod 770 /path/to/folder/
http://david-latham.blogspot.co.at/2008/08/allow-httpd-apache-to-write-to-files.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130914/ddda1f8f/attachment.sig>
More information about the users
mailing list