Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Permissions on local Apache web testing environment
- Date: Sun, 01 Nov 2009 00:02:23 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Permissions on local Apache web testing environment
- References: <4AEC20F3.7050507@example.com>
Dave M G writes: > What should the permissions on my files and folders be for the local > Apache server to use them? Check that all directories have the x bits set for user and group; they usually also need the r bits set. Files should have r bits set for user and group. In both cases it's excessively paranoid to clear the bits for other users, IMO, but some people do. Use ls -lA to check: any .ht* files also need to be readable. > Do I need to set ownership or something? Possibly you do. Ownership is determined by the numerical ID of the user or group, not the name. While a fair amount of standardization of IDs for system users and groups has been done by the distros, you should check and make sure that the ownership (user and group) is correct. Apache-served files typically have group or owner www-data, but that varies by distro to some extent IIRC.
- References:
- [tlug] Permissions on local Apache web testing environment
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Permissions on local Apache web testing environment
- Previous by thread: Re: [tlug] Permissions on local Apache web testing environment
- Next by thread: [tlug] Need advice to choose a router
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links