-- sorry if this is a double post, but I can't find the one I just wrote ... maybe hit cancel?! ---
Where do I define which permissions devices created via udev are getting? I need to change the permissions of /dev/shm on boot so that the profile-sync-daemon is working.
Of course I could work-around that by explicitly mounting /dev/shm via /etc/fstab, but since it is not in there to begin this, I don't think it belongs there. I could also put a chmod into rc.local, but that is only executed after the profile-sync-daemon is started.
I didn't find anything in /etc/udev or /lib/udev ...
Thanks and cheers!
Edit: updated subject after understanding the root cause.
[solved] changing /dev/shm permissions on boot
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
[solved] changing /dev/shm permissions on boot
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 4
- Posts: 357
- Joined: Fri Sep 17, 2010 9:55 pm
Re: change udev permissions on boot
Hi Riko,
Although I've never done this myself I know a good tutorial that may help. It's written for Arch Linux but is general enough that you should be able to use it in LMDE. You can find the tutorial here.
Hope this helps.
Although I've never done this myself I know a good tutorial that may help. It's written for Arch Linux but is general enough that you should be able to use it in LMDE. You can find the tutorial here.
Hope this helps.
Re: change udev permissions on boot
Thanks, Gene, for the link. That looks a bit more complicated than I had hoped for but oh well, you'll always learn. I need to find some time to go through that and will post back and the final result.
Cheers, Riko
Cheers, Riko
Re: change udev permissions on boot
hmm, seems like /dev/shm is not actually created by udev but via
and
If I understood those scripts correctly, they first check if an entry for /dev/shm exists in /etc/fstab. If not, the device is created with hard-coded permissions 755. So I guess, putting an entry into /etc/fstab is actually the correct way to do it.
Since it's not an udev issue, I'll change the Subject entry.
Cheers, Riko
Code: Select all
/lib/init/mount-functions.sh
Code: Select all
/lib/init/tmpfs.sh
Since it's not an udev issue, I'll change the Subject entry.
Cheers, Riko