LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-26-2013, 04:18 PM   #1
chilinux
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Operations not supported when applying an ACL file against a directory


I have an ACL file that I created and I'm trying to apply it against a directory. Below is what I ran and my error. Please help with this issue.

# setfacl -R --set-file=/ACL/acl.file.example /apps/datasec
setfacl: /apps/datasec: Operation not supported.
 
Old 06-26-2013, 08:37 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Well, I'd try doing th aacl direct instead of from an acl_file, just to check syntax.
Another possibility (given the error msg) is that the partition does not have acls turned on
Code:
 tune2fs -l /dev/sda1 | grep options
Default mount options:
user_xattr acl

#When options are set on the filesystem level (instead of as an fstab option), however, they are not visible with mount.
 mount | grep /dev/sda1
/dev/sda1 on /boot type ext3 (rw)

#Filesystems created post-install will not have ACLs active by default. This feature can be set with tune2fs -o.
 tune2fs -l /dev/sda5 | grep options
Default mount options:   (none)

# add acls
 tune2fs /dev/sda5 -o acl
tune2fs 1.39 (29-May-2006)

#confirm
 tune2fs -l /dev/sda5 | grep options
Default mount options:   acl
 
1 members found this post helpful.
Old 06-26-2013, 09:24 PM   #3
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
Make sure that the file system is mounted with the acl options on. Also make sure that the file system that you are using supports ACLs.
 
  


Reply



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
[SOLVED] ACL for directory mohitvad Linux - Newbie 3 11-26-2012 03:33 AM
Why does the ACL of a file created under a directory differ from the default ACL sctebnt Linux - Security 5 12-02-2011 08:13 AM
operation not supported while setting ACL manoj.linux Linux - Enterprise 3 10-08-2010 07:15 PM
File/directory operations in C MTK358 Programming 1 05-05-2010 08:45 AM
applying acl and extended attirbutes patch to 2.4.25 kernel spyder Linux - Software 1 05-06-2004 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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