LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2007, 04:19 PM   #1
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Rep: Reputation: 0
Access Control Lists


I'm trying to use access control lists to grant access to a directory to specific users without needing complex group memberships.

I checked I had a suitable kernel, installed the software and modified my fstab file, and it looks like they should be working... this is the info mount returns about the drive...

Code:
/dev/hda1 on / type ext3 (rw,acl,errors=remount-ro)
I ran the following to set the permissions (and defaults), but the user wibble can't access.

Code:
setfacl -R -d -m user:wibble:rx photos 
setfacl -R -m user:wibble:rx photos
Any thoughts anybody?

Last edited by aaf; 01-08-2007 at 11:58 AM.
 
Old 01-08-2007, 09:52 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Did you check 'photos' with getfacl after applying the change? The syntax you're using looks correct.
 
Old 01-08-2007, 11:57 AM   #3
aaf
LQ Newbie
 
Registered: Dec 2005
Location: Scotland
Distribution: Ubuntu & Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Yeah, I did...

Code:
# file: photos
# owner: me
# group: photos
user::rwx
user:wibble:r-x                 #effective:---
group::r-x                      #effective:---
mask::---
other::---
default:user::rwx
default:user:wibble:r-x
default:group::r-x
default:mask::r-x
default:other::r-x
In practice however, the wibble user cannot access that directory. This leads me to think that acls are not somehow active.
 
  


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
Need help with Access Control Lists GUIPenguin Linux - Security 2 01-06-2006 07:49 AM
Squid Access Control Lists Basics Palula Linux - Software 1 11-22-2005 05:29 PM
setup linux Access control Lists adrianmak Linux - Security 2 01-12-2003 02:56 PM
Access Control lists on directories riteshsarraf Linux - Security 0 10-22-2002 06:25 AM
Access Control Lists wgriffin43 Linux - Software 2 09-23-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration