LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2016, 09:21 AM   #1
toolbox1234
LQ Newbie
 
Registered: Jan 2009
Posts: 27

Rep: Reputation: 0
Need help with setacl


I following the article at http://www.htpcguides.com/properly-m...-raspberry-pi/ to mount USB drive with setfacl command. The commands
sudo setfacl -Rdm gi:rwx /mnt/usbstorage
sudo setfacl -Rm gi:rwx /mnt/usbstorage

work as described but I don't seems to be able to remove them. I have tried -b -k & -x without luck. Is there a way to completely remove acl for the mount point?
 
Old 03-25-2016, 01:56 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
I believe you have to be sure the filesystem is dismounted first.

The other way is to delete the mount point and recreate it and don't put an ACL on it.

Last edited by jpollard; 03-25-2016 at 01:57 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




All times are GMT -5. The time now is 06:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration