Remove extension attribute and ACL on Mac OS X

Remove extension attribute and ACL on Mac OS X

Remove extension attribute:
ls -l see “@”
xattr -l YOUR_DIR_OR_FILENAME
sudo xattr -d -r ‘com.apple.metadata:_kTimeMachineOldestSnapshot’ YOUR_DIR_OR_FILENAME
sudo xattr -d -r ‘com.apple.metadata:_kTimeMachineNewestSnapshot’ YOUR_DIR_OR_FILENAME
sudo xattr -d -r ‘com.apple.FinderInfo’ YOUR_DIR_OR_FILENAME

Remove ACL:
ls -l see “+”
sudo chmod -RN YOUR_DIR_OR_FILENAME

Advertisements

About xlcwu

Self-employed (One-man Company), Developer/Chief Designer/Consultant, Embedded Linux/NAS/Storage/Platform/Devices, Xcode/Cocos2D/Cocoa/Objective-C, at Joe’s Lab – Newland ESP (TM).
This entry was posted in Apple, Mac OS X. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s