×
UNIX.COM Login
Username:
Password:  
Show Password






👤


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?

Tags
linux

 

 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-21-2001
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 09-21-2001
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 09-21-2001
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 09-21-2001
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 09-24-2001
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 09-25-2001
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
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:07 AM
how to add permission of directory to a group ahjiefreak UNIX for Dummies Questions & Answers 2 02-29-2008 02:20 AM
limiting home directory size for a group Katkota UNIX for Dummies Questions & Answers 11 01-06-2008 03:48 PM
How to find permissions/roles/priveleges of User hardesh UNIX for Advanced & Expert Users 1 09-27-2005 09:22 AM
sqlplus priveleges. oracle8 UNIX for Dummies Questions & Answers 1 10-16-2001 12:16 AM



All times are GMT -4. The time now is 08:49 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.