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

Feature request: override file permissions #33

Open
cbrunnkvist opened this issue Nov 25, 2024 · 1 comment
Open

Feature request: override file permissions #33

cbrunnkvist opened this issue Nov 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cbrunnkvist
Copy link

It seems like when I attach some filesystems, they are being accessed (via afp:// as well as smb://) as "linsk" regular user, which means e.g. /root and lots of other stuff in /etc are marked ⛔️ unaccessible in Finder. Is this a known limitation, and is there anyway around it? I would expect this to be a common issue, and for data rescue purposes, I'd be glad if something like a --root-euid option could be turned on to configure the effective Linux user as uid=0.

@AlexSSD7
Copy link
Owner

AlexSSD7 commented Dec 8, 2024

It's not implemented at this time, I'm afraid.

As of now, the only option to achieve what you are asking for is to do chown 1000:1000 on all files that you need to access. Alternatively, if your use is limited to things that can be achieved with CLI, you can use linsk run --debug-shell. You can also combine both by browsing the directories with the CLI and changing file permissions on demand.

@AlexSSD7 AlexSSD7 added the enhancement New feature or request label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants