LinuxQuestions.org
Register a domain and help support LQ
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 02-08-2011, 12:05 PM   #1
gjhartwell
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
group member not able to write to group's file


Hi,
I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files.

The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW
OLD:x:512
NEW:x:513
...

#id OLD
uid=512(OLD) gid=512(OLD) groups=512(OLD),501(GROUP)
(same type of output for other OLDs)

#id NEW
uid=513(NEW) gid=513(NEW) groups=513(NEW),501(GROUP)

If I give others write permission NEW can write to GROUP files.

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection.

Anyone have any ideas as to why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

Thanks,
Greg
 
Old 02-09-2011, 01:09 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Can you show an

ls -l

on the target dir, and also confirm which protocol you are using eg NFS etc?
Here's a qn; is the user's acct on the target system actually in the correct group for that system ie src system is irrelevant.
 
Old 02-09-2011, 10:23 AM   #3
gjhartwell
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Chris,

Thanks for the reply.

Here is the output from an ls -l
#ls -l
drwxrwxr-x 2 cth data 4096 Feb 8 11:44 08

data is the group I mention that NEW should be a member of.

To your question:
"is the user's acct on the target system actually in the correct group for that system?"

I was thinking that
..................................................
/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW
OLD:x:512
NEW:x:513
...
................................................
showed that the new account was a member of the group. Is there another way to determine this?

I'm not sure how to check for the file system protocol, but I think it is ext3 (don't really know what this means).
from /etc/fstab
....
/dev/md2 / ext3 defaults 1 1
...

Does any of this help?

Greg
 
  


Reply


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
Can a security group be a member of another group? linux69 Linux - General 4 08-25-2010 01:17 AM
Member of group root, but root group permissions don't apply? aeternitas Linux - Software 7 04-22-2010 12:06 AM
Can a group be a member of another group? vargasmas Linux - General 4 10-21-2009 10:40 PM
Secondary group member can't write on samba share if they have full permission krishnakant Linux - Server 11 06-23-2009 04:29 PM
Can a group be a member of another group? seanys Linux - Newbie 1 03-18-2008 11:14 PM


All times are GMT -5. The time now is 04:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration