LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-07-2014, 01:58 PM   #1
raj k yadav
LQ Newbie
 
Registered: Dec 2008
Posts: 27

Rep: Reputation: 2
how to apply setfacl on nfs filesystem


how to apply ACL on a nfs filesyste.

root@xxrtxx01xxxx:~ # setfacl -m u:ahoover:rwx /facl_portfolios/cs/dart_rental
setfacl: /facl_portfolios/cs/dart_rental: Operation not supported
 
Old 08-07-2014, 03:04 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Why you want to setup acl on NFS exported share? NFS share permissions are governed from NFS server side. From what you mentioned it appears that you want to setup acl on exported NFS share on client side. And yes the error message that you are getting is expected that is "Operation not supported" because it is mounted as nfs share with default options on NFS client. As far as I am aware I haven't heard of anyone using acl option for NFS exported share. I doubt that any such option even exist.

Acl works on system native partitions because you mount them with acl option either via /etc/fstab or by specifying in command line while mounting.
 
Old 08-07-2014, 05:29 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
NFS does have some support for ACLs - how much depends on the server, and its implementation of NFS.

v2 and v3 of NFS may not be compatible, as NFS controls are provided by an external protocol. NFSv4 has them built in, but it still requires the server to support ACLs.

http://wiki.linux-nfs.org/wiki/index.php/ACLs

How to enable it will depend on your distribution, at a minimum it requires the exported filesystem to be mounted with ACLs enabled and exported, and the client will need them enabled on the mount (see man page on "exports" and "mount", as well as man pages on the filesystems used).

Last edited by jpollard; 08-07-2014 at 05:32 PM.
 
  


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
setfacl on a nfs mounted share johnmccarthy Linux - Newbie 3 11-28-2012 01:43 AM
read only permission on NFS filesystem smallbook Linux - Server 2 06-06-2008 03:17 AM
creating a filesystem for NFS ashlesha Linux - Software 0 10-31-2006 01:26 PM
Cannot unmount NFS if filesystem. jizlobber Red Hat 2 04-19-2006 11:07 AM
"apply journal on ext3 filesystem" - how? kpachopoulos Linux - General 1 02-10-2006 06:56 AM

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

All times are GMT -5. The time now is 04:07 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