Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

setfacl on OCFS2 filesystem on OEL

Srividhya.PMSep 13 2011 — edited Sep 13 2011
Dear all,

We have a OEL 5.5 server with OCFS2 installed used for Oracle Ebusiness suite.

I'm unable to do setfacl on the OCFS filesystem.

It's throwing "Operation not supported error".

[***@****]$ setfacl -m u:1234:rwx 12.0.0
setfacl: /APPL_TOP/<dir path>/12.0.0: Operation not supported

Here /APPL_TOP is a OCFS2 filesystem.

I tried using acl in the mount option as below:

/dev/xvdc /APPL_TOP ocfs2 _netdev,defaults,acl 0 0

This throwed error while mounting stating invalid mount option.

What is the mount option to be specified to make the OCFS2 filesystem aware of setfacl commands?

Thanks,
Srividhya

Comments

Avi Miller-Oracle
Srividhya.PM wrote:
We have a OEL 5.5 server with OCFS2 installed used for Oracle Ebusiness suite.
You'll probably need to upgrade to Oracle Linux 5 Update 7 and the UEK to get OCFS2 with ACL support.
Dude!
The problem with "operation not supported" was already noted in 2009 and supposed to be fixed in a maintenance release.

http://oss.oracle.com/osswiki/OCFS2/NewFeaturesList
If EA's are turned on, the file system will now automatically support POSIX ACLS and selinux.

Do you have ocfs2-tools package installed?

What happens if you enable extended attributes:

mount -o remount,rw,user_xattr,noatime /APPL_TOP

You can see "man mount.ocfs2" for explanation of mount options.

Edited by: Dude on Sep 13, 2011 12:47 AM
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 11 2011
Added on Sep 13 2011
2 comments
301 views