Skip to content
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 issue on bound directory on Samsung T-550 #452

Open
RonnyLV opened this issue Nov 19, 2023 · 0 comments
Open

Permission issue on bound directory on Samsung T-550 #452

RonnyLV opened this issue Nov 19, 2023 · 0 comments

Comments

@RonnyLV
Copy link

RonnyLV commented Nov 19, 2023

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 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant