Re: installiing joomla

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

 




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

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux