LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 03:46 AM   #1
sunnybmv
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: Disabled
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, 03:51 AM   #2
sunnybmv
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: Disabled
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, 05: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, 04:57 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 08:54 PM
script to change primary group. stian Linux - Newbie 10 08-04-2009 02:05 PM
Script to add a secondary group to all users except system default users Tekken Linux - Server 5 06-29-2009 04:02 PM
permissions not recognizing group or assigned users to group blckspder Linux - Server 1 07-28-2008 10:32 AM
Primary and secondary group trophy Linux - Newbie 2 04-03-2004 12:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 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
Open Source Consulting | Domain Registration