[kwlug-disc] Access rights to file/folder
opengeometry at yahoo.ca
Wed Jul 28 17:16:26 EDT 2010
On Wed, Jul 28, 2010 at 03:22:26PM -0400, Eric Gerlach wrote:
> Excerpts from Raul Suarez's message of Wed Jul 28 15:10:00 -0400 2010:
> > In Windows you can select who has access to a file/folder, by
> > selecting either ACLs (groups) or user IDs from the local computer
> > or the domain.
> > In Linux, as far as I know, each file belongs to ONE user and ONE
> > group. So if you need access, you are either the user-owner or you
> > get added to the owner-group.
> > Is there a way in Linux to grant access to a specific file for a
> > specific user without making it member of the owner-group
> > Or alternatively: how is the fine-grain access problem solved under
> > Linux?
> man setfacl
> man getfacl
I tried (as root)
# date > x
# setfacl -m u:anotheruser:r x
setfacl: x: Operation not supported
Is there something else I gotta do? It's ext4 filesystem with POSIX ACL
# CONFIG_EXT4_DEBUG is not set
More information about the kwlug-disc