Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi im having trouble keeping my cdrom drive to keep the permissions of read and write for world/other. Are changes made with chmod permanent? The permissions change when grip freezes up and i have to reboot by shutting off the power, so i imagine that is why they don't stay but it is frustrating to have to always change the mode everytime so that grip can read and write using the drive.
There are two systems of setting up devices for Linux currently: devfs (which is to be phased out) and udev. I don't know if Fedora Core uses devfs or the replacement udev, but I would wager on the latter if I had to, so read up on how to set up udev properly (man udev should be a good start).
Originally posted by hw-tph
There are two systems of setting up devices for Linux currently: devfs (which is to be phased out) and udev. I don't know if Fedora Core uses devfs or the replacement udev, but I would wager on the latter if I had to, so read up on how to set up udev properly (man udev should be a good start).
Three, actually ... funny you should only mention
the ones that DO forget perms.
There's also the good old static device-nodes a la 2.4
of course ... in which case the perms would be permanent.
Quote:
Originally posted by sinner
If I remember correctly changes to permissions on mountpoints needs to be done in your /etc/fstab .
This is my line for the cdrom in /etc/fstab:
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,users 0 0
Its the noauto,users part that is interesting for permissions.
Nuh, that doesn't change the permissions, only says whether
the user is allowed to run the mount or not. The perms on
mount-points as such are still set using chmod.
will set the permissions to on the mountpoint to 755 ,with the user and group being those of the user that mounted the drive.
umask=000 would be 777, so it starts from allowing everything and then deselects permissions.
The modes are as follows (the first column is the mode octal number):
It *doesn't* modify the permissions of the mount-point.
It changes the perms for the stuff that's being mounted
there. Once you unmount the perms on the mountpoint
will be the same they were before you mounted anything.
to change the permissions of my cd rom drive would i change the entry in 50-udev.permissions or would i make a new file starting with a number less then 50 specifically for my cdrom? something like 10-cdrom.permissions? I've changed the permissions in 50-udev.permissions for my cdrom but it results in less permssions then if i hadn't changed it. i changed it from 0660 to 0666. thanks for any replies in advance.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.