LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Hot plugging quirk? (http://www.linuxquestions.org/questions/slackware-14/hot-plugging-quirk-4175446086/)

Woodsman 01-17-2013 05:47 PM

Hot plugging quirk?
 
Plugging in and powering on an external SATA II hard drive device while in run level 3 results in the device being correctly assigned permissions of brw-rw--- and ownership of root:disk.

Plugging in and powering on an external SATA II hard drive device while in run level 1 results in the device being assigned permissions of brw------ and ownership of root:root. These latter assignments result in the disk not being recognized.

While in run level 1, changing to run level 3 results in the assignments being updated correctly.

I tested this in 13.1 and 14.0.

Why does this happen? udev rule quirk?

Is there a work-around to ensure the device is correctly assigned permissions/owneership when in run level 1?

Thanks.

Darth Vader 01-17-2013 05:54 PM

If I remember right, into runlevel 1 you have the single user method.

Then, there is just the root user and nothing more. For me, these device permissions look very right.

guanx 01-17-2013 05:55 PM

Yes the permissions are maintained by udev. Normally udev is not running in runlevel 1 unless you start it manually.


All times are GMT -5. The time now is 05:00 AM.