Skip to main content

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.

0 votes
0 answers
39 views

I'm a student learning UNIX permissions and scripting on macOS. I created a short script that makes a file and applies chmod 640. However, a user in the same group cannot read the file. Here is the ...
Mamoona's user avatar
1 vote
1 answer
42 views

I would like to run a custom script on startup. I added the script to my root crontab via sudo crontab -e and adding @reboot /path/to/my_custom_script.sh to the end. I made sure my_custom_script.sh ...
stones's user avatar
  • 13
0 votes
2 answers
28 views

Basically, without giving the user any new permissions, I am looking to be able to write to /sys/bus/usb/drivers/usb/unbind and /sys/bus/usb/drivers/usb/bind via a systemd service running as the ...
Camille Guay's user avatar
3 votes
2 answers
483 views

I'm new with Linux and I worked on permissions recently. I'd like to find out if it is possible to schedule permission changes and how can it be done? I mean if I want to give say a group, access to ...
Temiloluwa Akinlabi's user avatar
0 votes
0 answers
43 views

Context I have a system user caddy and a shell script placed under /run/caddy/caddy-cert-obtained-wrapper.sh. /run and /run/caddy are owned by root:root with permissions 0755. caddy-cert-obtained-...
Martin Tovmassian's user avatar
1 vote
1 answer
48 views

I'm learning linux permissions and confused about the permissions for killing a process. First, from kill(2) manpage: For a process to have permission to send a signal it must either be privileged (...
Elucidase's user avatar
4 votes
2 answers
287 views

I'm trying to set up some tasks and services on my machine across different users. One task is to run regular backups using restic with a regular user restic. While I can skip file permission checks ...
Lysann Tranvouez's user avatar
2 votes
1 answer
196 views

I want to allow moving files to a specific directory on my server using rsync + ssh. However, I don't want to fully trust the users using that SSH user. One solution I found is to set the shell of the ...
GNA's user avatar
  • 131

15 30 50 per page
1
2 3 4 5
307