The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Inherit Group File Permission april UNIX for Dummies Questions & Answers 1 04-28-2008 03:13 AM
permission, owner and group pascalbout Shell Programming and Scripting 2 01-14-2006 07:47 AM
group permission thumper UNIX for Dummies Questions & Answers 6 02-17-2005 12:03 PM
Group permission not working bbauerle AIX 13 05-10-2004 05:41 AM
how to define permission of unix group mncapara UNIX for Dummies Questions & Answers 3 10-16-2002 06:00 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008
Registered User
 

Join Date: Nov 2007
Posts: 127
how to add permission of directory to a group

Hi,

A simple and silly question on Unix.

I have a directory named "a" and I would like to grant permission to group name "text" to access, read and execute my directory.

Could anyone help me?

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-28-2008
Registered User
 

Join Date: Oct 2007
Posts: 70
Try chmod command
Quote:
chmod 750 a
Reply With Quote
  #3 (permalink)  
Old 02-28-2008
Registered User
 

Join Date: Sep 2006
Location: Mysore, India
Posts: 155
Case 1) If the owner of directory a is in group "text" then

chmod -R g+rx a

Case 2) If the owner of directory a is not in group "text" then

chmod -R o+rx a
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0