Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Permission denied when read file with setGID

Aacc-OracleSep 19 2011 — edited Sep 20 2011
I'm using a NFS system. I noticed that once I set setGID to a file, e.g.
chmod g+s myfile
The file become un-readable (even root user is not able to access it). if I try to read, i got:
tail myfile
 cannot open `myfile' for reading: Permission denied
What could be problem? using ls -l or getfacl, I can see owner,group, other all have read permission though:
ls -l
-rw-r-Sr--+  1 oracle dba  5 Sep 19 07:51 myfile
getfacl myfile
# file: myfile
# owner: oracle
# group: dba
user::rw-
group::r--
mask::rwx
other::r--
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 18 2011
Added on Sep 19 2011
3 comments
639 views