Operating System - HP-UX
1753739 Members
4174 Online
108799 Solutions
New Discussion юеВ

Removing all ACL controls

 
SOLVED
Go to solution
Rob Marles
Occasional Advisor

Removing all ACL controls

Hello

I was messing around with CIFS trying to set a share access, and when I tried applying permissions via XP, it set the ACL "bit";

Because this isn't the route wanted to go, how do I remove ACL from the filesystem entry and return to using normal unix permissions?

In short: I want to remove the "plus": drwxrwxrwx+

Thanks.
5 REPLIES 5
Peter Godron
Honored Contributor

Re: Removing all ACL controls

Rob,
have a look at:
man chacl
Rob Marles
Occasional Advisor

Re: Removing all ACL controls

is there a special revision of this that I would need? I have a pretty recent install of HPUX so I was sort of surprised when I tried thisL

chacl -Z
chacl: file "": Function is not available (errno = 251)

Thanks
Peter Godron
Honored Contributor
Solution

Re: Removing all ACL controls

Rob,
this error means you are using vxfs filesystem. Is this correct ? grep for your mount point in /etc/fstab.

If you are you will need to reverse your individual changes with :
setacl -d
setacl -d user:fred filea

You can check with getacl
Rob Marles
Occasional Advisor

Re: Removing all ACL controls

Ahh yes. Silly me.
Quite tired today.

Thanks for the help!
Peter Godron
Honored Contributor

Re: Removing all ACL controls

Rob,
if you are happy with the solution, can you please award points and close the thread.
Thanks.