LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-19-2009, 04:46 AM   #1
sunnybmv
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Thumbs up Secondary group users need to change the file permissions of primary group files?


Hi i want secondary users can able to change the files permissions of primary group?

user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

Thanks in advance.
 
Old 10-19-2009, 04:51 AM   #2
sunnybmv
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
user CAM is having httpd as a primary and new as secondary group.
user MAC is having www as a primary and httpd as secondary group.
But user MAC want to change the file permissions (chmod) httpd group files.
 
Old 12-10-2009, 06:21 AM   #3
permalac
Member
 
Registered: Jul 2007
Location: Barcelona
Posts: 115

Rep: Reputation: 16
I have the same issue.

Does anyone know a good way to manage primary groups depending on the path where are you currently working?


thanks .
 
Old 12-10-2009, 05:57 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I suggest you look into sg http://linux.die.net/man/1/sg and/or newgrp http://linux.die.net/man/1/newgrp
 
  


Reply

Tags
linux


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
How do I change a user's primary group? Akhran Linux - Newbie 4 03-19-2010 09:54 PM
script to change primary group. stian Linux - Newbie 10 08-04-2009 03:05 PM
Script to add a secondary group to all users except system default users Tekken Linux - Server 5 06-29-2009 05:02 PM
permissions not recognizing group or assigned users to group blckspder Linux - Server 1 07-28-2008 11:32 AM
Primary and secondary group trophy Linux - Newbie 2 04-03-2004 01:30 AM


All times are GMT -5. The time now is 09:42 PM.

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