Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167692 - [overlay] syscp default file/directory permissions wrong if apache creates the file/dir
Summary: [overlay] syscp default file/directory permissions wrong if apache creates th...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-19 22:08 UTC by Andy Task
Modified: 2007-02-19 23:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Task 2007-02-19 22:08:24 UTC
If you upload a file via apache or install a component through a cms using their own installer (apache process creates files and dirs) all files have permissions 600 and directories 700 instead of 644 and 755 which are needed to work correct.

FIX: Edit /etc/suphp.conf and change
;Umask to set, specify in octal notation
umask=0077

to
umask=0022



Reproducible: Always




using chtekk's syscp-1.3.13 overlay ebuild
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-19 22:12:22 UTC
Eh, I fail to see any bug here. You are responsible for configuring your server as needed for your particular configuration; noone will do your job.
Comment 2 Andy Task 2007-02-19 23:07:54 UTC
(In reply to comment #1)
> Eh, I fail to see any bug here. You are responsible for configuring your server
> as needed for your particular configuration; noone will do your job.
> 

If you see it that way it is not bug. If the ebuild should work out of the box with under most common circumstances it does not work with default config. Fact is that with default config any file created by apache process is not accessible by apache itself anymore. So imho it is a bug and is not a particular config but a common config requirement for shared hosting environments. Just my 0.02 -.-