Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-24-2012, 11:31 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Granting Apache write access

I'm on RedHat Linux and have php scripts which run under user:apache group:apache. Now, the php files are owned by another group. How do I grant apache write access to files owned by this other group. As it is now, the only way apache can write to these files is by chmod 0777 the file. 0775 does not work.

Old 08-24-2012, 11:47 PM   #2
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
I am not sure but, you can try to make apache member of another group by the command
usermod -a -G othergroupname apache
1 members found this post helpful.
Old 08-25-2012, 12:13 AM   #3
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I use ACL for it; unfortunately no notes at hand how I did it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Granting same access rights to two users? Ajit Gunge AIX 4 07-19-2012 12:23 AM
Granting write permission to subdirectory Fooshnik Linux - Security 12 01-13-2011 06:50 PM
Granting full write access to another users web directory acctman Linux - Server 2 02-12-2009 06:32 PM
Granting full read/write permissions to all files for a specific user laserjim Linux - Security 10 01-31-2009 12:17 PM
Apache write access helpmhost Linux - Server 1 06-20-2007 02:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration