Re: chmod does not remain changed



On Thu, 15 Dec 2005 22:32:47 -0800, Charles Jamieson wrote:

> I am using FC3. When I become su and type 'chmod +r *' in the /dev
> directory, the permissions are changed to 'r' for everyone.
> When I reboot, the permissions revert back to 'r' for owner and group
> only.
> What do I need to do to make the change stick?

Google.com is your friend. Search for "udev" and go to the first
link:

http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

After reading that, create a new file "/etc/udev/rules.d/01-my.rules"
that looks similar to:

KERNEL="FIXME", NAME="%k", MODE="0660",OWNER="root" GROUP="FIXME"

But change the "FIXME" to the UDEV keys for the devices of interest.
The UDEV documentation will show you how to determine what these
strings mean.

Cheers
.



Relevant Pages