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.
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.
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.:
Where "User" is the name of your user account.
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
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.