All Questions
Tagged with uid permissions
8 questions
0
votes
0
answers
822
views
Why does the owner of the podman volume for a rootless container get changed to this particular UID?
I am brand new to podman, and trying to understand something I have observed with permissions / UIDs.
I have created two podman named volumes as my non-root user (named qsd), one to be mounted in a ...
0
votes
1
answer
5k
views
Run process with non-root user in docker container
I'm building redis sentinal image that run.sh should run as non-rootuser
run.sh
while true; do
master=$(redis-cli -h ${REDIS_SENTINEL_SERVICE_HOST} -p ${REDIS_SENTINEL_SERVICE_PORT} --csv ...
2
votes
2
answers
1k
views
Why is effective UID still not 0?
So I got this code below from here. However when I follow the commands:
sudo chown root:root a.out
sudo chmod u+s a.out
It still won't run with effective uid to 0.
This is the code:
#define ...
4
votes
1
answer
1k
views
Where does Linux keep 'ruid' and 'euid'?
I wonder where Linux kernel keeps 'ruid' and 'euid'.
Below is what I know about them.
When an user runs a file and the file turns to a process, the process gets to have ruid and euid.
If the file ...
0
votes
1
answer
190
views
Uid issues between two applications for the 'strace' command
I'm going to use the strace -p <myPid> command between two applications.
However, strace command does not work with other applications (it works well for itself).
This is the error message:
...
0
votes
0
answers
2k
views
How do you get the user ID, group ID, file permissions in C++?
I have for the last few hours been looking up how to get and set the user ID, group ID, and file permissions, flags and other important information of a file using C++. I have seen code examples and ...
0
votes
1
answer
860
views
Setting permissions on a CRAMFS file system
I am attempting to create a CRAMFS filesystem but am struggling with permissions. How to I set permissions so that when a host mounts the filesystem it will be root:root?
Once the CRAMFS is created ...
0
votes
1
answer
2k
views
Permission problems creating a .deb file
I'm trying to create a .deb file from a binary and support files. It works, however I get the following warning before I create it:
The installation of a package which violates the quality standards ...