Monterey, Organize v2: Google Drive gives [Errno 1] Operation not permitted
See original GitHub issueSorry, I missed your request to see my config. Organize is still not working with Google Drive.
Here is my config file after migrating to v2 (slightly modified for privacy):
rules:
# move screenshots into year/month/day folders
- locations:
- /Users/x/Pictures/InstantShot
filters:
- extension:
- jpg
- created
actions:
- move: "/Volumes/Google Drive/My Drive/_x/x/x/x (x)/{created.strftime('%Y')}/{created.strftime('%m')}/{created.strftime('%d')}/"
Simulation is successful, but upon running I get errors like:
- (move) ERROR! unable to create /Volumes/Google Drive/My Drive/_x/x/x/x (x)/2022/01/18 ([Errno 1] Operation
not permitted: '/Volumes/Google Drive/My Drive/_x/x/x/x (x)/2022/01/18')
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/organize/cli.py:86 โ
โ in run_local โ
โ โ
โ 83 โ โ config_dir, config_name = split(config_path) โ
โ 84 โ โ config = open_fs(config_dir).readtext(config_name) โ
โ 85 โ โ os.chdir(working_dir) โ
โ โฑ 86 โ โ core.run(rules=config, simulate=simulate) โ
โ 87 โ except NeedsMigrationError as e: โ
โ 88 โ โ console.error(e, title="Config needs migration") โ
โ 89 โ โ console.warn( โ
โ /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/organize/core.py:3 โ
โ 09 in run โ
โ โ
โ 306 โ console.summary(count) โ
โ 307 โ โ
โ 308 โ if count["fail"]: โ
โ โฑ 309 โ โ raise RuntimeWarning("Some actions failed.") โ
โ 310 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
RuntimeWarning: Some actions failed.
_Originally posted by @andyylin in https://github.com/tfeldmann/organize/issues/152#issuecomment-1032382637_
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Fix Terminal โOperation not permittedโ Error in macOS ...
This walkthrough will show you how to fix โOperation not permittedโ error messages seen at the command line in Terminal for Mac OS...
Read more >[Errno 1] Operation not permitted after macOS Catalina ...
After installing macOS 10.15 Catalina I am getting the following error for simple file and directory operations in Python 3.xย ...
Read more >MacOS Monterey and Google Drive - Apple Community
This is now clearly a Google Drive issue. Something is amiss in the network connection interface. Seems there is a problem with smb...
Read more >Issues ยท tfeldmann/organize - GitHub
Monterey, Organize v2: Google Drive gives [Errno 1] Operation not permitted help wanted. #170 opened on Feb 8 by andyylin.
Read more >operation not permitted Mac Terminal - iBoysoft Data Recovery
How to fix Terminal error Operation not permitted ยท Enable Full Disk Access to Terminal ยท Disable System Integrity Protection Temporarily.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great one ๐ Didnโt see it either!
OK, it was a silly coding error of my side:
Should have been
all along sighs
Sorry to have wasted your time.