umask setting for apache on fedora23/24

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

 



Hi,

I'm setting up a joomla website on fedora23. The problem I'm having is
with providing the level of write access that apache needs while also
allowing the joomla user write to the same directories.

The current umask is 0022 for each user. I'd like to change it to
0002, so both can write to the same directory.

I've set sgid on the directories, but I don't believe that to be a
very good solution, and it also doesn't set the write bit without the
umask being set.

I believe that I can add them both to the same group and set the umask
to fix the problem.

I've tried editing the systemd config files, as per these instructions:
http://serverfault.com/questions/582371/how-to-set-umask-for-php-fpm-in-fedora

then su'd to the apache user (after giving it a shell), and the umask
doesn't change. What effect does /etc/profile and /etc/bashrc have on
umask, after the systemd settings were changed?

I've temporarily disabled those umask settings in the local files, and
it doesn't appear to change.

Thanks,
Alex
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[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