Search code examples
bashmacosxattr

xattr produce error when clear rights


I have directory with inherited rights:

drwxrwxrwx+  5 root           admin    170 Feb 16 18:27 autotests
0: group:everyone inherited deny add_file,add_subdirectory,directory_inherit

So I want to clear extended rights and do this on parent directory:

xattr -rc .

But I get an error:

KeyError: 'com.apple.FinderInfo'

What I do wrong?


Solution

  • I solved this problem using chmod