-
Notifications
You must be signed in to change notification settings - Fork 13
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
Permission denied: /.homeassistant/.storage/icloud3.apple_acct/ #370
Comments
When Python creates a directory or file, the permissions are 777. Do you know what it was before you changed it to 755? |
The perms are shown in my OP. |
Just managed to recreate the directory permission issue. Here's how....
Then tried to add account again using icloud3 configure but when the apple codes pop up on my devices (mac/iphone etc) there is no option to add this code to icloudv3 so checked the ~HA/.storage/icloud3.apple_acct folder and the perms were set to ..... drwxr-xr-x 2 homeassistant homeassistant 4096 Oct 29 01:01 icloud Hope this helps. |
Same again if I 1st delete icloud3 via HACS then delete HA/.storage/icloud3 and HA/.storage/icloud3.apple_acct |
Running latest HA core and latest icloud3 via HACS.
The icloud3.apple_acct folder has incorrect permissions when created (d--------x)
Strangely the icloud3 folder DID have correct permission so I was able to log onto apple server fine but no devices were ever found because the icloud3.apple_acct folder had wrong permissions.
I fixed using
chmod 755
on icloud3.apple_acctOnce fixed I setup again and this time I was asked to enter apple verification code then devices were listed correctly.
FYI
The text was updated successfully, but these errors were encountered: