Operating System - HP-UX
1830940 Members
1722 Online
110017 Solutions
New Discussion

Re: Remove acl on vxfs file system

 
Michael Allmer
Frequent Advisor

Remove acl on vxfs file system

I accidentally set some acl’s on a vxfs file system, with XP through samba.

I now want to completely remove all acl’s on the directory, files and any directories below it.

I was able to remove the default user and group settings using the following commands
‘setacl –d d:u:: file’

Here is what I have left:

# owner: catadm
# group: catia
user::rwx
group::rwx
class:rwx
other:r-x
default:class:r-x
default:other:r-x

I am not ale to remove the default class and other using:
‘setacl –d d:c:: file’
‘setacl –d d:o:: file’

Any suggestions?
3 REPLIES 3
JJ Urich
Frequent Advisor

Re: Remove acl on vxfs file system

Mike,

I've had similar issues and I create an acl file and then use setacl to force normal acl's. You might try the following and see if it works in your situation:

# cat acl
user::rwx
group::--x
other:--x
# setacl -f acl filename
I used to have spare time, then I had kids.
Michael Allmer
Frequent Advisor

Re: Remove acl on vxfs file system

I created a file with the following:
user::rwx
group::r-x
other:--x

I executed the follwoing command.
'setacl -f aclfile directory'
and it worked.

Thank you for the assistance.
Michael Allmer
Frequent Advisor

Re: Remove acl on vxfs file system

I messed up on awarding your points. How can I coorect that?