Sample Header Ad - 728x90

xattr -c not removing com.apple.FinderInfo attribute

1 vote
1 answer
90 views
I was trying to solve the problem in [this post](https://stackoverflow.com/questions/39652867/code-sign-error-in-macos-monterey-xcode-resource-fork-finder-information-or) , and it seems like xattr -cr . is not actually removing the com.apple.FinderInfo attribute, nor is xattr -c or xattr -d com.apple.FinderInfo . Here's what I tried, and how the shell responded: * listed all files with extended attributes, showed 15 files
FlackBook-Pro:BasicEQ julianflack$ xattr -lr .
./Source/PluginProcessor.h: com.apple.lastuseddate#PS: +N?g
./Source/PluginProcessor.h: com.apple.metadata:kMDLabel_mgte763loh3jfiptugpk6t3rl4: ????? ?Sv?pӰ=y??X?1
?7d?LHNd;?Ӊ?????, confirmed zero exit code, ran xattr -lr .`
* the specified file was still there with the same attribute
FlackBook-Pro:BasicEQ julianflack$ xattr -c ./Builds/MacOSX/BasicEQ.xcodeproj FlackBook-Pro:BasicEQ julianflack$ echo "$?" 0 FlackBook-Pro:BasicEQ julianflack$ xattr -lr .
* ran xattr -d com.apple.FinderInfo , confirmed zero exit code, ran xattr -lr .
* same problem
FlackBook-Pro:BasicEQ julianflack$ xattr -d com.apple.FinderInfo ./Builds/MacOSX/BasicEQ.xcodeproj FlackBook-Pro:BasicEQ julianflack$ echo "$?" 0 FlackBook-Pro:BasicEQ julianflack$ xattr -lr . ``` Other things I've tried: * confirmed I am running bash and not zsh * type xattr returns xattr is hashed (/usr/bin/xattr) I'm at a bit of a loss here, I posted the [same question](https://stackoverflow.com/questions/79355771/xattr-c-not-actually-removing-attributes) in stack overflow and, after going back and forth with some answerers in the comments, they closed my question for some reason. I figured I could try here as well, any ideas?
Asked by Julian Flack (11 rep)
Jan 19, 2025, 07:58 PM
Last activity: Feb 20, 2025, 04:56 PM