linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Permissions question with reboots and udev
@ 2006-11-13 16:15 Kilau, Scott
  2006-11-13 18:22 ` Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kilau, Scott @ 2006-11-13 16:15 UTC (permalink / raw)
  To: linux-hotplug

(Resending to list, first time it got rejected as spam...)

Hi everyone,
Sorry to bug again.

 
Another quick question that probably has a quick answer.
 
One of the big "issues" our (Digi's) serial port users seem to always
have is
having permissions and ownership of their ttys preserved across reboots.
 
With non-udev, I wrote a script that would update the major values of
their
existing "Digi" tty entries in /dev, while maintaining the current
permissions/ownerships
across reboots.
 
With udev, I am unsure if there is any way to do this...
 
As far as I can tell, if someone does something like:
 
chown uucp:uucp /dev/ttya01
 
Then reboots the system, (or even reloads the driver),
the devices get blown away, and recreated, and end up back as root:root.
 
I know you can specify a udev rule to create the devices as a specific
permission/ownership,
but that is a sledgehammer approach to it...
 
I am thinking I could make a rule to ignore "removal" on my devices,
which I suspect
will allow me to keep to the ttys around in /dev, but I am stumped on
making a "rule"
to  "preserve" the existing permission/ownership when/if the device gets
readded...
 
Any ideas? Thoughts?
 
Thanks!
Scott Kilau
 
 
 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-14 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-13 16:15 Permissions question with reboots and udev Kilau, Scott
2006-11-13 18:22 ` Greg KH
2006-11-13 19:50 ` Kilau, Scott
2006-11-13 20:06 ` Ken Brush
2006-11-14 16:52 ` FW: " Kilau, Scott
2006-11-14 21:40 ` Dan Nicholson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).