LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-17-2013, 04:47 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,476

Rep: Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531
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.
 
Old 01-17-2013, 04:54 PM   #2
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 598

Rep: Reputation: 109Reputation: 109
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.
 
Old 01-17-2013, 04:55 PM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scsi device is not available in enclosure after hot plugging larsprogressive Linux - Hardware 1 01-18-2010 03:25 AM
hot plugging a wireless USB adapter wufo Slackware 2 12-30-2009 04:41 PM
hot plugging of ethernet vidyavati Linux - Newbie 4 07-02-2009 08:29 AM
hot/cold plugging a Belkin F5D7010 wufo Linux - Laptop and Netbook 1 12-29-2004 06:14 AM
Hot-plugging a SCSI Tapedrive ganninu Linux - Hardware 1 05-03-2004 11:05 AM


All times are GMT -5. The time now is 01:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration