LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-28-2013, 06:57 AM   #1
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Rep: Reputation: Disabled
g , o permissoin are not working in CentoS


Hi all i am attaching that image for better understanding , plzz guide me , permission re not applying on file f1
Attached Images
File Type: jpg grouppermissoin.jpg (55.0 KB, 7 views)
 
Old 08-28-2013, 09:16 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,473

Rep: Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540
Quote:
Originally Posted by AbidDhanaiser View Post
Hi all i am attaching that image for better understanding , plzz guide me , permission re not applying on file f1
Spell out your words. And we can't 'guide you', since we don't know how the other user is set up. If that user ID is a member of the root group, then the permissions are working as they should.

Post details (version/distro of Linux, details about the user id(s) in question, etc.), and we can try to help.
 
Old 08-29-2013, 12:58 AM   #3
AbidDhanaiser
Member
 
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Original Poster
Rep: Reputation: Disabled
i tried many time but permission are not working .
i made a group that is "groupadd g1"
then i make user "abid " to the member of that group g1 , also make a user "asad" and not assign any group to him accept of that it has by default.
so """asad"": will be "O" (other) here.
now , chmod g+wr file
and chmod 0-w file
but permission aplly for group also worked on " o " .....

Last edited by AbidDhanaiser; 08-29-2013 at 01:51 AM.
 
Old 08-29-2013, 10:33 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,421

Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
The command that you showed in the snapshot ("cat f1") is just reading the file, and the read permission bit for "others" is set for the file.
 
  


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
cron not working in CentOS 6 sabeel_ansari Red Hat 6 08-16-2012 11:29 AM
bind not working in centos baronobeefdip Linux - Server 4 07-30-2011 03:35 AM
ftp upload: permissoin denied? nkoplm Linux - General 4 04-06-2007 02:37 PM
Files Permissoin garr0323 Slackware 1 02-28-2004 11:38 AM
Permissoin to a group please bear with me. Paul12 Linux - General 1 08-04-2001 07:14 AM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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