LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-18-2012, 05:08 PM   #1
vaibhavs17
Member
 
Registered: Mar 2009
Posts: 51

Rep: Reputation: 1
group permission is given, even after file is not read


it is not allowing to create file in /shared directory

mini@vaibhav-desktop:~$ touch /shared/minifile

touch: cannot touch `/shared/minifile': Permission denied

mini@vaibhav-desktop:~$

although mini user is the part of group testgroup

root@vaibhav-desktop:/home/min*i# ls -ld /shared

drwxrwx--- 2 vaibhav testgroup 4096 2012-06-19 01:24 /shared

root@vaibhav-desktop:/home/min*i#

why it is not working??
 
Old 06-18-2012, 08:10 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Here's a few things to check:

1. check mini user really is part of that group "id mini"

2. is FS mounted read-only "cat /etc/mtab"

3. check acls (unlikely) : "getfacl /shared"
 
Old 06-18-2012, 08:42 PM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,614

Rep: Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576
Does /shared/minifile already exist? If so, what are its ownership and permissions?
 
  


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
Saving a file removes the group execute permission jsteel Linux - Server 1 05-24-2011 05:16 AM
How can we set permission type on a file to a particular user in a group ? rakeshkumar.techie Linux - Newbie 3 01-20-2011 10:30 AM
Cat not read a file in linux, even when read permission is enabled DeepSeaNautilus Linux - Software 2 01-16-2011 05:49 PM
Changing permission on a folder so group users can Read and Write maginotjr Linux - Server 7 03-27-2009 04:22 PM
Multiple file/group permission questions JustinCoyan Slackware 3 04-19-2005 11:26 PM

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

All times are GMT -5. The time now is 06:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration