Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about MAC os , Android , Server equipment specification => Package on mac => Topic started by: golfreeze on กรกฎาคม 16, 2018, 05:14:43 PM

Title: macos could not delete some file or folder with flag @
Post by: golfreeze on กรกฎาคม 16, 2018, 05:14:43 PM
detect drwx------@ for folder file
and could not delete permanent from .trash in MacOS
 
$ ls -lah
total 0
drwx------   4 packetlove  staff   128B Jul 16 15:41 .
drwxr-xr-x+ 28 packetlove  staff   896B Jul 15 20:57 ..
drwxr-xr-x   3 packetlove  staff    96B Jul 10 21:43 .BAH.d3m2y
drwx------@  3 packetlove  staff    96B Jul 11 10:36 .BAH.iIigV

##Change permission from @ to - as
$ sudo xattr -rc .BAH.iIigV

$ls -lah
drwx------  3 packetlove  staff    96B Jul 11 10:36 .BAH.iIigV

##delete folder again
rm -rf .BAH.iIigV