Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
acls on files

acls on files

2005-03-21       - By James Cooley

 Back
Reply:     1     2     3  

ACL support works pretty good in RHEL 3 and 4.  Just add the option acl
to your fstab file similar to the following:

/dev/Volume00/slash     /                       ext3    
defaults,acl        1 1



, and remount the filesystem like so:

mount -o remount /


After that is done, you can use getfacl to get the acls on a file,
setfacl to set the acls on a file.  For example,

setfacl -m g:guests:r-x  filename

Will give users in the guests group read and execute access to the file
called filename.  You can set acls on directories as well.

Samba will also allow you to propagate acls set on a directory to any
file created under that directory by using the following options in your
smb.conf file:

map acl inherit = Yes
inherit acls = Yes



I hope this helps,

James Cooley


David Bear wrote:

>I'm looking at better flexibility regarding file system access.
>
>rather than simple user/group ownerships, I'll like something more
>like NTFS acls or AFS acls. I'm assuming this implies POSIX acls.  
>
>Using RHEL 4 what is the recommended way to have better file acls?
>
>I'd like a group that has 'read' access, a group the has 'write'
>access, and another group that has 'full'.. The difficulty is that I
>will be sharing most files on the linux server through samba. I know
>samba has some cool features with force group, dir mode, etc., but I'm
>also worried about someone having shell access that may want to monkey
>around on the machine.
>
>Any recommendations?
>
>  
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list