As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [permissions]

Permissions are the Unix way of controlling access to resources such as files, directories and devices and may be specified for an owner, group, or all users.

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

mkdir in configfs not permitted

On my embedded System I enabled the CONFIG_CONFIGFS_FS=y to have access to the configFS. When booted, I mounted it with help of mount -t configfs none /sys/kernel/config. That works like charm: # ...
Tom Mekken's user avatar
0 votes
0 answers
24 views

Docker Permissions issue accessing `/dev/dri` Device

I have a permissions problem. I am running Photoprism inside a Docker container on Ubuntu 22.04. I want to use Intel QuickSync hardware transcoding. To do this, the app needs to access the /dev/dri ...
Eddified's user avatar
  • 101
0 votes
1 answer
17 views

What determines UMASK for Oracle Job using UTL_FILE?

A PL/SQL job foobar622 writes files to UNIX/LINUX server using the following Oracle file I/O commands: UTL_FILE.FILE_OPEN UTL_FILE.PUT_LINE UTL_FILE.FILE_CLOSE In the past the files had these ...
zundarz's user avatar
  • 331
0 votes
1 answer
31 views

chmod not working on NTFS-3g partition

I have a file on an NTFS-3g partition, I tried using chmod to add execute to this file, but it remained unchanged. What am I doing wrong? I followed this and this posts, but none of them worked, this ...
michaelbr's user avatar
0 votes
1 answer
34 views

how to delete bash 3.2 from Mac OS?

how do I delete the "old" bash from Mac OS? I installed homebrew, installed bash 5.2 and set it up as the default. I disabled SIP and ran two commands and got these responses: sudo rm /bin/...
Michael's user avatar
1 vote
0 answers
22 views

Permission denied in rootless docker with non-primary group access

I'm trying to bind mount a directory that is owned by root with 770 permissions. My user is in the group with permission, so I can access it (read, write, & execute) on the host, but the ownership ...
eveyp's user avatar
  • 11
-1 votes
1 answer
31 views

Steam not running proton games on separate EXT4 partition

I have a multi user system and if possible I'd like to prevent downloading every game 3 times. Because of that I made a separate ext4 partition for my steam games and selected the partition in steam ...
Nichtdu's user avatar
0 votes
2 answers
50 views

systemd / service user has not the same rights / permission as same user in a shell

I'm trying to set up the Hashicorp Vault Agent as a systemd service. I can manually run that agent with the user vault. Note, perhaps that's important: here's the /etc/passwd for that user : vault:x:...
IlliciteS's user avatar
0 votes
2 answers
61 views

Don't have permissions to create folders or delete files in $HOME

I have lost the permissions to create files/folders in /home/user without using sudo. I have a few snippets below of what I mean. I tried to install nyxt-git from the AUR beforehand and it errored out....
Hercislife's user avatar
0 votes
1 answer
99 views

Set default permissions for files received via SFTP

I'm receiving files pushed from another system via SFTP to a directory on a Linux VM. These files get the wrong permissions u=rw g= o=. However I need those files to have permissions like u=rw g=rw o=....
Niklas Letz's user avatar
0 votes
0 answers
20 views

Unable to find directory using chrome/firefox

I don't know if this is a permission thing or what, but I have a directory in root / that is not showing up in neither firefox nor chromium and I don't know what's up. Basically, when I go to file:/// ...
Aram Papazian's user avatar
0 votes
0 answers
27 views

Running an application that requires read access to /proc

I'm trying to run an application that requires access to /proc in order to find the gnome-shell process and its environment variables. My guess is that this application used to work but default ...
Olumide's user avatar
  • 167
0 votes
0 answers
30 views

Firefox "Access to the file was denied" for file on NFS volume

Using Firefox to open an html file (in fact any file) on a mounted NFS volume gives an "Access to the file was denied" error. Also apparently related problem when trying to upload files to a ...
user572244's user avatar
0 votes
1 answer
29 views

Official Spotify App is able to acquire root permissions as non-root user

OS: Debian 11 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux KDE Plasma 5.20.5 Spotify: spotify-client/stable,now 1:1.2.8.923.g4f94bf0d amd64 [installed] I've discovered an ...
ehammer's user avatar
  • 195
0 votes
2 answers
62 views

Linux (write) permissions will not be inherited for new files

First I set the setgid bit, so that files/folder under directory will be created with the same group as directory. chmod g+s <directory> Then I tried to change the folder's permission structure,...
cheat.008's user avatar
1 vote
0 answers
36 views

Best practices for file and directory permissions in a multi-user environment

This is my situation in an experimental environment. A php script is creating files in a target directory when it's executed from Apache via web request. It runs as www-data user, the created files ...
puck's user avatar
  • 111
0 votes
0 answers
28 views

How to grant write access to USB device?

I'm working with libfprint and when running my code that opens a USB device, I get the following error libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/003, errno=13 ...
Parker's user avatar
  • 181
1 vote
2 answers
66 views

Allow users to moves files into a "readonly" directory

I am on Ubuntu 20.04 and I have users who work on Jupyter notebooks in their own home directories, and then they can move the notebook onto a shared directory on the Jupyter server where everyone can ...
TheProphet's user avatar
0 votes
0 answers
32 views

What should the permission for .git folder look like? error: cannot open .git/FETCH_HEAD: Permission denied

I cloned repo to reproduce some examples with Ansible when I go for ansible-playbook install_dependencies.yml I am having error TASK [fetch k3s ansible role from github] ******************************...
Richard Rublev's user avatar
0 votes
1 answer
24 views

How to solve package installation problems and grant permissions to files

How to solve package installation problems and grant permissions to files. Hello Recently 2 days ago I installed Linux, "Linux mint 21.1" The first day what I did was just update my ...
Jesús Cortes's user avatar
0 votes
0 answers
22 views

What File Permissions to use for Docker Owned Files

So ive got a ubuntu server install with docker thats running a few containers and ive got folders for each now im wondering what would the logical permissions be for the files it cant be 777 right? it ...
IThundxr's user avatar
0 votes
1 answer
61 views

List of systems that are sensitive to file permissions

I ran into an issue on my NAS where I mistakenly reset the permissions on the root file tree to 664. This ended up disrupting many of the NAS functions, like ssh and, after much debugging, logrotate. ...
infojunkie's user avatar
0 votes
1 answer
49 views

Converting server to allow Apache write access to certain directories, does this solution look right?

I've been at this all day and think I finally figured it out, but want to make sure before I put it into production. I'm changing my server to allow the apache:apache user write permission on a few ...
Jeff's user avatar
  • 776
0 votes
0 answers
60 views

rsync permission denied - but they have full 777?

It is getting late and I am loosing my mind ... I have a data drive (NTFS) which I used to share in an Windows/Ubuntu dual boot system. After an upgrade it is currently Windows 10 and Ubuntu running ...
territrades's user avatar
0 votes
1 answer
73 views

OpenVPN user nobody permission denied

My OpenVPN server is running under nobody account and it is configured to call a script once a client gets connected (for logging client's IP along with some info): client-connect "/etc/openvpn/...
Nikolay Polyagoshko's user avatar
0 votes
0 answers
64 views

Should the "/dev" directory always be writable?

I have noticed that in a read-only kubernetes container, the /dev directory is still writable. I was wandering whatever the /dev directory should be writable by design? or is it possible to make it ...
Meir Tolpin's user avatar
1 vote
1 answer
27 views

How to Check Numlock State of Virtual TTYs Without Elevated Privileges?

I am trying to get the numlock states of multiple virtual TTYs. But my normal user account doesn't have read permission for some of them. $ for tty in /dev/tty{1..6}; do setleds < ${tty} | grep &...
AntumDeluge's user avatar
0 votes
0 answers
44 views

User has access to directory But not able to list files inside it

The user has access to the directory But the user is NOT able list files or go inside that directory. output of getfacl: getfacl: data/emp/social/AUTO123/ user::rwx user:spidy:r-x user:lisa:rwx group::...
user avatar
15 votes
4 answers
1k views

Why doesn't read permission on directories reveal inode numbers?

As far as I understand, the "read" permission on directories allows one to list all names under that directory, and no more than that. Based on common understanding of FS design, if a ...
iBug's user avatar
  • 3,369
5 votes
2 answers
452 views

touch command not able to create file in write-permitted directory

This is my user $ id uid=1000(pzk) gid=1000(pzk) groups=1000(pzk) This is my directory structure $ ls -tlrh total 12K d-w--w--w- 2 root root 4.0K Apr 13 10:53 write-for-everyone dr--r--r-- 2 root ...
pzk's user avatar
  • 117
1 vote
0 answers
25 views

How would you assign read-only permissions to run ls -l /proc/{pid}/fd for processes you don't own using SELinux in Android

I am developing an application on Android as a non-root user.  However, I need read access to all the /proc/{pid}/fd files so as to check the inode numbers from the symlink under fd. How do I do that ...
Mahavir Surana's user avatar
2 votes
1 answer
27 views

On-the-fly SMB shares conf to quickly share files

I want to use samba to quickly and easily share files on occasions. I set up a smbuser to which I forbid login with chsh -s /bin/false smbuser I give the smbuser's password to people and I have my ...
Steve-no-Jobs's user avatar
6 votes
1 answer
294 views

"Others" cannot read 'smaps_rollup' file with -r--r--r-- permission under /proc/PID/. Why?

I'm trying to read two specific files, namely status and smaps_rollup for all the processes under /proc. All process directories have dr-xr-xr-x permission and I'm able to enter every one of these ...
Firelord's user avatar
  • 392
0 votes
0 answers
25 views

File permissions by default different when created by different user

beginner here I used root privileges to create a new user in Red Hat Enterprise Linux called john and a group called myfriends. I then added john to that group. I also created a folder /home/myfriends ...
daniel's user avatar
  • 1
4 votes
1 answer
133 views

How do I allow a non-root user to set the timezone via d-bus?

I am writing an application on an embedded Linux device that sets the Timezone as a non-root user. To boil things down to the essence, I want to execute this: dbus-send --system --dest=org....
Edward's user avatar
  • 145
1 vote
1 answer
56 views

Owner changed to _apt systemd-journal

For some unknown, mysterious reasons, most of the folders on my debian have been switched from root:root to _apt:systemd-journal arthur@debian:~$ ls -la /data/tera_4/Content/ total 32 drwxrwxr-x 8 ...
Arthur Attout's user avatar
3 votes
1 answer
39 views

zathura and ownership of files in /proc/PID

Yesterday, while writing an answer to How to get full path names of all opened pdf files (in zathura) - like rofi does, I noticed something weird about the ownership of files the /proc/PID/ directory ...
cas's user avatar
  • 75k
0 votes
0 answers
24 views

Can an AppImage run from NTFS drive or NFS network share?

I'm on Ubuntu 20.04, and I just saw something that I was never aware of so far. I wanted to get and https://github.com/mifi/lossless-cut; however, I do not have space on my primary ext4 formatted disk ...
sdbbs's user avatar
  • 450
1 vote
1 answer
78 views

How to let user can only read files?

I have some new files to release every day. My coworker needs to sftp/scp to my Linux server to copy these files. I don't want him to do any file delete/move/execution...etc, the only thing he can do ...
Mark K's user avatar
  • 697
0 votes
0 answers
25 views

I gave permission to edit sudoers.co file to each user

I gave permission to edit sudoers.co file to each user and now i cant use sudo, because ubuntu don't allow to. I don't have access to root user. any ideas how to fix that? I tried to enter recovery ...
maksim tmasik's user avatar
0 votes
2 answers
47 views

Umask set weird result for files when apply value 0666

umask shows the weird results when applying value: 0666 When apply any value for umask that works as aspected, but when apply 0666 then directory got correct permission value but file got weird value. ...
JavaScriptForEveryThing's user avatar
1 vote
0 answers
297 views

Permission denied while trying to SSH from gitlab runner to deploy server

I am trying to deploy gitlab repository to my server in gitlab ci pipeline using this pipeline stages: - deploy deploy: stage: deploy only: - main before_script: - apk add --update --...
Johnczek's user avatar
  • 111
0 votes
1 answer
72 views

How to allow non-root user to write to ZFS external USB flash drive

In Ubuntu 20.04, I installed the zfsutils-linux package and formatted an external USB thumbdrive to use ZFS (sudo zpool create mypool /dev/sdb). However, the mounted pool at /mypool is only writable ...
Flux's user avatar
  • 2,406
0 votes
1 answer
126 views

Permission denied with locate command in Shell Script in Oracle Linux?

I am trying to run a shell script that contains the command $locate /etc/*.conf to find all files in /etc/ that end in .conf, but whenever I run the script the command line says /etc/chrony.conf: ...
Luke's user avatar
  • 11
0 votes
2 answers
245 views

How/Where does udev give permission to X11 input drivers to open /dev/input/event* files without also giving access to the logged-in user?

This is the permission of my /dev/input/event* files: crw-rw---- 1 root input 13, 64 Mar 21 09:02 /dev/input/event0 crw-rw---- 1 root input 13, 65 Mar 21 09:02 /dev/input/event1 crw-rw---- 1 root ...
Arash Rohani's user avatar
0 votes
1 answer
123 views

Permission denied for user in group (group has directory write permissions)

I'm getting Permission Denied when attempting to create/touch files in a directory with group ownership permissions. touch /data/www/acoder.txt [acoder@box]$ touch /data/www/acoder.txt touch: cannot ...
a coder's user avatar
  • 3,144
0 votes
1 answer
38 views

Write a script which other users can run to copy files into my directory which otherwise only has r-x for other users

I am new to unix permissions so I'll give as much relevant context as possible to avoid a possible xy post. I'm on a multi-user system on which I do not have root access. I'd like to make a folder on ...
Jacob Steinebronn's user avatar
-1 votes
2 answers
55 views

I would like to set the permissions of a file to be editable, viewable, and deletable by everyone, what permission value should he set?

There is a general report template that someone has reserved only for the CEO. Since the file has to be editable, viewable, and deletable by everyone, what permission value should he set? My first ...
Elias's user avatar
  • 1
0 votes
0 answers
265 views

Grant sonarr user read/write/execute permission (recursive) for a mounted share

I am on an Ubuntu 20.04 VM. My network share is accessible via credentials and has been tested for write permissions. The issue I believe is the permissions on my VM(Client) device. The goal is to get ...
chumtrout's user avatar
1 vote
1 answer
237 views

Limit CPU usage with cgroup v2 as non-root user: permission denied

I'm trying to limit the CPU usage of a process using cgroups v2. The hierarchy is already created and the limits are set, I just need to write the pid into the cgroup.procs file. The path is /sys/fs/...
zlatonick's user avatar
  • 129

1
2 3 4 5
87