From: Marco Gaiarin <gaio@sv.lnf.it>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Andreas Gruenbacher <agruen@suse.de>,
Marius Aamodt Eriksen <marius@umich.edu>,
Jeff Sedlak <jsedlak@umich.edu>,
nfs@lists.sourceforge.net
Subject: Re: ACL on NFS, how make it work?
Date: Mon, 6 Mar 2006 10:05:57 +0100 [thread overview]
Message-ID: <20060306090557.GD8429@sv.lnf.it> (raw)
In-Reply-To: <20060303163535.GB32552@fieldses.org>
Mandi! J. Bruce Fields
In chel di` si favelave...
> What filesystems are you exporting, and how are they mounted? (You
Apart /home (via autofs), i export /srv to clients. Both, as you can
see, are XFS ACL-enabled filesystem:
Mar 6 05:09:33 rita kernel: SGI XFS with ACLs, security attributes, no =
debug enabled
Mar 6 05:09:33 rita kernel: SGI XFS Quota Management subsystem
As requested:
rita:~# mount
/dev/sda1 on / type ext3 (rw,noatime,errors=3Dremount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=3D5,mode=3D620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda2 on /usr type ext3 (ro)
/dev/md2 on /var type xfs (rw)
/dev/md5 on /home type xfs (rw,nosuid,nodev,usrquota)
/dev/md4 on /srv type xfs (rw,noexec,nosuid,nodev,grpquota)
none on /proc/bus/usb type usbfs (rw)
rita:~# exportfs -v
/home mario.ac.concordia-pordenone.it(rw,wdelay,root_squash)
/home giovanni.ac.concordia-pordenone.it(rw,wdelay,root_squash)
/srv mario.ac.concordia-pordenone.it(rw,wdelay,root_squash)
/srv giovanni.ac.concordia-pordenone.it(rw,wdelay,root_squash)
> Which kernel are you using?
The last...
rita:~# uname -a
Linux rita 2.6.15.4 #1 SMP Tue Feb 28 19:16:58 CET 2006 i686 GNU/Linux
> If you're logged in to the server, can you succesfully get and set acls
> on the filesystem that you're exporting?
I usually set ACL only via windows, but...
rita:/srv/users/Da Riordinare/VARIE# getfacl ViewReport.pdf
# file: ViewReport.pdf
# owner: root
# group: root
user::rwx
group::---
group:presidenza:rwx
group:segreteria:rwx
mask::rwx
other::---
rita:/srv/users/Da Riordinare/VARIE# setfacl -m u:gaio:r ViewReport.pdf
rita:/srv/users/Da Riordinare/VARIE# getfacl ViewReport.pdf
# file: ViewReport.pdf
# owner: root
# group: root
user::rwx
user:gaio:r--
group::---
group:presidenza:rwx
group:segreteria:rwx
mask::rwx
other::---
yes, it works. ;)
Hope these helps. And many thanks.
--=20
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it=
/
Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento (=
PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
that extends applications into web and mobile media. Attend the live webc=
ast
and join the prime developer group breaking into this new coding territor=
y!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2006-03-06 9:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 10:38 ACL on NFS, how make it work? Marco Gaiarin
2006-03-03 16:35 ` J. Bruce Fields
2006-03-06 9:05 ` Marco Gaiarin [this message]
2006-03-06 9:41 ` Andreas Gruenbacher
2006-03-06 10:31 ` Marco Gaiarin
2006-03-06 15:23 ` J. Bruce Fields
2006-03-08 17:04 ` Marco Gaiarin
2006-03-09 1:49 ` J. Bruce Fields
2006-03-09 8:56 ` Gopal Santhanam
2006-03-09 14:00 ` J. Bruce Fields
2006-03-09 11:20 ` Andreas Gruenbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060306090557.GD8429@sv.lnf.it \
--to=gaio@sv.lnf.it \
--cc=agruen@suse.de \
--cc=bfields@fieldses.org \
--cc=jsedlak@umich.edu \
--cc=marius@umich.edu \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox