Skip to content

Ubuntu 22.04 and permissions #36

@Myria-de

Description

@Myria-de
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions