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:
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.