Networking Forums

Networking Forums > Computer Networking > Linux Networking > ACLs on Linux not working as expected...

Reply
Thread Tools Display Modes

ACLs on Linux not working as expected...

 
 
Cyphos
Guest
Posts: n/a

 
      11-29-2005, 04:12 PM
Hi guys,

I am using Ubuntu Breezy, with kernel-2.6.12. I have the following
packages installed:
-acl
-libacl1
-attr
-eicel

I'm trying to create a directory to contain source code used by the
developers. I've done the following, while logged on as root

mkdir /src
chown :developers /src
chmod 770 /src
setfacl -m g:developers /src

Now, if I'm logged in as a developer (belonging to the 'developers'
group), and try this:
cd /src

I get a permission denied error. What am I doing wrong?

Any help appreciated, thanks.

Regards,
Mike

 
Reply With Quote
 
 
 
 
Joshua Baker-LePain
Guest
Posts: n/a

 
      12-02-2005, 01:40 PM
On 2005-11-29, Cyphos <(E-Mail Removed)> wrote:
> Hi guys,
>
> I am using Ubuntu Breezy, with kernel-2.6.12. I have the following
> packages installed:
> -acl
> -libacl1
> -attr
> -eicel
>
> I'm trying to create a directory to contain source code used by the
> developers. I've done the following, while logged on as root
>
> mkdir /src
> chown :developers /src
> chmod 770 /src
> setfacl -m g:developers /src


That last command has the wrong syntax -- you haven't specified the
ACLs you want to give the developers group. It should be something like:

setfacl -m g:developers:rwx /src

But it seems that your ACL is redundant to your standard permissions.

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup network cards not working as expected (metric?) Nick Gilbert Windows Networking 3 06-22-2007 12:06 PM
proftpd (and other ftp servers), gftp and umask not working as expected - SOLVED kevin bailey Linux Networking 0 01-26-2006 10:28 AM
dhcp client not work how expected on my Suse linux 8.1 dundo@libero.it Linux Networking 1 11-16-2005 03:25 PM
acls.exe Bert Windows Networking 1 08-11-2005 01:21 PM
Group ACLs Brian Whiting Linux Networking 0 01-07-2005 06:36 PM



1 2 3 4 5 6 7 8 9 10 11