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

Ubuntu 22.04 and permissions #36

Open
Myria-de opened this issue Jul 7, 2023 · 0 comments
Open

Ubuntu 22.04 and permissions #36

Myria-de opened this issue Jul 7, 2023 · 0 comments

Comments

@Myria-de
Copy link

Myria-de commented Jul 7, 2023

  1. On Ubuntu 22.04 it is not possible to load Vramfs without elevation. You have to raise the limits in „/etc/security/limits.conf", i.ex.:
User hard memlock unlimited
User soft memlock unlimited
User hard rtprio unlimited
User soft rtprio unlimited

Where "User" is the name of your user account.

  1. This is a suggestion. The fuse directory is not accessible by other users. Therefore you ran into problems if you start Vramfs without elevation and a tool runs under the root account in this directory (or the other way round). In this situation it is helpful to add
fuse_opt_add_arg(&args, "-oallow_other");

at the end of vramfs.cpp. In "/etc/fuse.conf" you have to remove the "#" before "user_allow_other". After this the Vramfs-Directory is accessible by everyone. Maybe there are security concerns. But on a private computer i see no problems.

@Myria-de Myria-de changed the title Ubuntu 22.04 an permissions Ubuntu 22.04 and permissions Jul 7, 2023
eric-glb pushed a commit to eric-glb/vramfs that referenced this issue Oct 4, 2024
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