Re: Apache and umask for document root

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

 



Hi,

On Thu, Sep 8, 2016 at 12:32 PM, Alex <mysqlstudent@xxxxxxxxx> wrote:
> Hi,
>
>> Now do this:
>> cd /path/to/joomla/DocumentRoot
>> chmod -R apache:apache $rw_dirs
>> find $rw_dirs -type d -exec chmod 2770 {} \;
>> find $rw_dirs -type f -exec chmod 660 {} \;
>
> You mean chown above, but yes, I've also thought about setting everything sgid.
>
> Someone in another forum recommended mod_suphp
> (http://www.suphp.org/Home.html). It appears to modify how apache
> directly writes files. However, I'm not sure that's a good option,
> particularly given that the website lacks any indication of there
> being any current development.
>
> Anyone have any experience with it?

After a little more research, it appears suEXEC is what's now used
more commonly (http://httpd.apache.org/docs/current/suexec.html).

This apparently provides the ability for the ability to run CGI and
SSI programs under user IDs different from the user ID of the calling
web server without having to modify file permissions.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
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