How do I go about to reset/delete all user_xattr and ACL settings from volumes? I've redone a system completely, retaining a couple of volumes, and now just about every file and dir carries the wrong info. -- Anders Norrbring Norrbring Consulting
On Mon, 2005-08-01 at 18:19 +0200, Anders Norrbring wrote:
How do I go about to reset/delete all user_xattr and ACL settings from volumes? I've redone a system completely, retaining a couple of volumes, and now just about every file and dir carries the wrong info.
man setfacl OPTIONS -b, --remove-all Remove all extended ACL entries. The base ACL entries of the owner, group and others are retained. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Mon, 2005-08-01 at 12:38 -0400, Ken Schneider wrote:
On Mon, 2005-08-01 at 18:19 +0200, Anders Norrbring wrote:
How do I go about to reset/delete all user_xattr and ACL settings from volumes? I've redone a system completely, retaining a couple of volumes, and now just about every file and dir carries the wrong info.
man setfacl
OPTIONS -b, --remove-all Remove all extended ACL entries. The base ACL entries of the owner, group and others are retained.
Also add... -R, --recursive Apply operations to all files and directories recursively. This option cannot be mixed with `--restore'. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On 2005-08-01 18:40 Ken Schneider wrote:
On Mon, 2005-08-01 at 12:38 -0400, Ken Schneider wrote:
On Mon, 2005-08-01 at 18:19 +0200, Anders Norrbring wrote:
How do I go about to reset/delete all user_xattr and ACL settings from volumes? I've redone a system completely, retaining a couple of volumes, and now just about every file and dir carries the wrong info.
man setfacl
OPTIONS -b, --remove-all Remove all extended ACL entries. The base ACL entries of the owner, group and others are retained.
Also add...
-R, --recursive Apply operations to all files and directories recursively. This option cannot be mixed with `--restore'.
Thanks! That helped.. :) -- Anders Norrbring Norrbring Consulting
participants (2)
-
Anders Norrbring
-
Ken Schneider