Sample Header Ad - 728x90

Hardlinking to $HOME/Library/Mobile Documents/com~apple~CloudDocs

0 votes
0 answers
524 views
How can the directory ~/Library/Mobile Documents/com~apple~CloudDocs be hardlinked to the directory `~/iCloud? The [suggested answer](https://apple.stackexchange.com/q/219549) to this question, based on the following command
gln -d  /Users/mpf/Library/Mobile\ Documents/com\~apple\~CloudDocs iCloud
throws this error on Sonoma 14.0:
gln: failed to create hard link './iCloud' => '/Users/mpf/Library/Mobile Documents/com~apple~CloudDocs': Operation not permitted
What is the correct approach?
Asked by Michael (121 rep)
Oct 12, 2023, 04:31 AM