-
-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quarantine extended attribute gets set on every save using macOS Monterey #1216
Comments
I am having the same issue. Additionally if I edit a file with file extension Thanks for looking into it. |
Thank you for the report. I have confirmed the phenomenon. |
I researched this issue and found that the cause is Monterey's system change. |
I'm experiencing this problem too, making it pretty much unusable to edit bash scripts. |
Same issue. I can no longer use CotEditor for any scripting work. :( The only workaround I've found for editing scripts with CE is to move the script to the /Applications directory. Monterey (12.1) doesn't seem to add to the quarantine attribute on save if the file is in this particular folder. Alternatively, you need to use a different editor for script files, such as BBEdit or Xcode. |
As workaround the quarantine flag ("com.apple.quarantine") can be manually removed:
Link: https://www.alansiu.net/2021/08/19/troubleshooting-zsh-operation-not-permitted/ |
Building it without sandbox fixed it for me. |
According to my test with macOS 12.3 Beta (21E5206e), this issue will be fixed on macOS 12.3. |
Issue seems to be back with latest 4.7.2 from apple app store ... |
@MStraeten Thank you for the report. However, I could not reproduce the issue. Do you have any specific conditions to reproduce it? |
Description
Every time I save a file, the extended attribute
com.apple.quarantine
gets set for this file:This is especially problematic, when editing scripts, because the script cannot run with the attribute set:
Interestingly when creating and saving a new file, the attribute is not set. It happens only on subsequent saves.
I do have GateKeeper disabled.
/Applications/CotEditor.app
does not have the attribute.To Reproduce
com.apple.quarantine
extended attributeExpected behavior
File should not have extended attribute set
CotEditor version
4.0.8
macOS version
12.0 Beta (21A5543b)
Additional context
No response
The text was updated successfully, but these errors were encountered: