You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation of Octoprint fails with "Operation not permitted".
It fails on shutils.copy2 from build scripts that are associated with octoprint install scripts. "Operation not permitted" as it cannot apply permissions to dst copied files.
After failed installation, I went to Settings and enabled openssh server to try and replicate the issue.
Connecting to the ssh server I tried to chmod any of the files/dirs and it doesn't apply anything and also doesn't return errors.
Changing the bound directories from context.getExternalFilesDir(null) to internal storage /data/data/com.octo4a/files/ solves the issue and installation succeeded.
Any idea how to solve the missing permissions?
Or is there any reason to not run on the internal storage?
Let me know if you need any additional info.
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered:
Installation of Octoprint fails with "Operation not permitted".
It fails on
shutils.copy2
from build scripts that are associated with octoprint install scripts. "Operation not permitted" as it cannot apply permissions to dst copied files.After failed installation, I went to Settings and enabled openssh server to try and replicate the issue.
Connecting to the ssh server I tried to
chmod
any of the files/dirs and it doesn't apply anything and also doesn't return errors.Changing the bound directories from
context.getExternalFilesDir(null)
to internal storage/data/data/com.octo4a/files/
solves the issue and installation succeeded.Any idea how to solve the missing permissions?
Or is there any reason to not run on the internal storage?
Let me know if you need any additional info.
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered: