Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Multiple Group Priveleges on same directory?

UNIX for Dummies Questions & Answers


Tags
linux

 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-21-2001   -   Original Discussion by TyHockett
TyHockett TyHockett is offline
Registered User
 
Join Date: Sep 2001
Last Activity: 19 February 2002, 10:04 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Java Multiple Group Priveleges on same directory?

On my FTP server (Darwin/Mac OS X -- pretty much FreeBSD), I need to apply the following permissions to a directory:

1. A specific owner with full access
2. A specific group with full access
3. A specific group with read-only access
4. No access whatsoever for everyone else

I understand how to apply permission for the owner (1.), the first group (2.), and everyone else (4.)....


Code:
chown owner:group1 dirname
chmod 770 dirname

What I don't get is how to apply read only access for my second group (3.). I feel certain that I a missing something big here. Can anyone help?
Sponsored Links
    #2  
Old Unix and Linux 09-21-2001   -   Original Discussion by TyHockett
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
 
Join Date: May 2001
Last Activity: 24 March 2008, 9:43 PM EDT
Location: Chicago IL, USA
Posts: 1,006
Thanks: 0
Thanked 2 Times in 1 Post
i dont know if mac osx has ACL's but if it does try man acl or man setfacl
Sponsored Links
    #3  
Old Unix and Linux 09-21-2001   -   Original Discussion by TyHockett
TyHockett TyHockett is offline
Registered User
 
Join Date: Sep 2001
Last Activity: 19 February 2002, 10:04 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the response, but it looks like darwin doesn't have those utilities available.


Code:
<pre>[localhost:~] % man acl
man: no entry for acl in the manual.
[localhost:~] % man setfacl
man: no entry for setfacl in the manual.</pre>

What is acl? Is that a Linux thing?
    #4  
Old Unix and Linux 09-21-2001   -   Original Discussion by TyHockett
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
 
Join Date: May 2001
Last Activity: 24 March 2008, 9:43 PM EDT
Location: Chicago IL, USA
Posts: 1,006
Thanks: 0
Thanked 2 Times in 1 Post
access control lists. its a solaris thing.
Sponsored Links
    #5  
Old Unix and Linux 09-25-2001   -   Original Discussion by TyHockett
LivinFree's Unix or Linux Image
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
 
Join Date: Jul 2001
Last Activity: 16 June 2011, 4:50 PM EDT
Location: Portland, OR, USA
Posts: 1,626
Thanks: 2
Thanked 15 Times in 13 Posts
Modern Linux distributions also carry support for ACL's, although it's not used as much as it should be.
Sponsored Links
    #6  
Old Unix and Linux 09-25-2001   -   Original Discussion by TyHockett
patvdv's Unix or Linux Image
patvdv patvdv is offline
Registered User
 
Join Date: Jul 2001
Last Activity: 14 March 2003, 5:08 AM EST
Location: Belgium
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Not only solaris, HP-UX has them as well Linux
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[help]Delete or replace text in multiple file and multiple directory dzufauzan Shell Programming and Scripting 16 06-05-2009 12:07 PM
how to add permission of directory to a group ahjiefreak UNIX for Dummies Questions & Answers 2 02-29-2008 03:20 AM
limiting home directory size for a group Katkota UNIX for Dummies Questions & Answers 11 01-06-2008 04:48 PM
How to find permissions/roles/priveleges of User hardesh UNIX for Advanced & Expert Users 1 09-27-2005 10:22 AM
sqlplus priveleges. oracle8 UNIX for Dummies Questions & Answers 1 10-16-2001 01:16 AM



All times are GMT -4. The time now is 02:36 AM.