Hi!
I have a small but unplesant problem. I've got some useful devices in the /dev/.static/dev directory (for example nvram device). However the directory /.static in /dev has the permission 0700, owner: root/root. What means that an ordinary user cannot access any devices under this directory even if they have the appropriate permission to it. I have tried to change the permission of the .static to 0755 and everything worked fine. But after reboot the they always return back to 0700.
Can anyone tell me how I can CONSTANTLY set the permission of /dev/.static to 0755? Or maybe there are other tricks which solves the problem?
Many thanks in advance.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
how to statically change permisson of /dev/.static
Re: how to statically change permisson of /dev/.static
You can change the attributes to make the directory immutable with:antonmx wrote:Hi!
I have a small but unplesant problem. I've got some useful devices in the /dev/.static/dev directory (for example nvram device). However the directory /.static in /dev has the permission 0700, owner: root/root. What means that an ordinary user cannot access any devices under this directory even if they have the appropriate permission to it. I have tried to change the permission of the .static to 0755 and everything worked fine. But after reboot the they always return back to 0700.
Can anyone tell me how I can CONSTANTLY set the permission of /dev/.static to 0755? Or maybe there are other tricks which solves the problem?
Many thanks in advance.
# chattr +i /dev/.static
This command did not used to work with reiser filesystem and was a bug with reiser that may have been fixed.
It would be better to get dynamic devices working. You can edit your /etc/udev/links.conf file to create devices and symlinks.
-Bob
Debian Sys Admin
http://www.tldp.org/LDP/sag/html/index.html
http://www.tldp.org/LDP/sag/html/index.html