LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 07-10-2007, 09:41 AM   #1
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Slackware, Mepis LiveCD
Posts: 146

Rep: Reputation: 15
Unable to access the / (root system directory) via system:/media


Hi All

When I doubleclick the "20G Media" item (which represents my Slack installation partition) via "System > Storage Media" from the KDE desktop, I get a "permission denied" error. Now this is a bit odd considering that this happens from the root account. I was having similar problems with the external USB sticks but I that was solved after I read up on this. I commented out the USB device entry in /etc/fstab and added "root" to the plugdev group). However, I am still unable to access the Slack partition via the above route. Please note though that I can access it via Konqueror but it would be convenient to access all partitions and devices from "System > Storage Media" as well. Any solutions would be welcomed.

Regards
 
Old 07-10-2007, 06:26 PM   #2
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Rep: Reputation: 30
Hi Dizzi,

I have the same error which as yet is unresolved, maybe something in my thread can help you.
http://www.linuxquestions.org/questi...d.php?t=567691

Cheers

Orbit
 
Old 07-11-2007, 10:24 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,904

Rep: Reputation: Disabled
This is a multi-faceted problem.
First, it's generally frowned upon to run a desktop environment as root, so don't do that.
Second, if you insist upon running a desktop environment as root and you want root to have access to the same media:/ stuff as normal users, you will have to add root to the plugdev and cdrom groups in /etc/group. This is because the DBUS IPC system is a bit more strict about checking authorization to do things, and if a user is not in the appropriate groups (regardless of whether that user is root), he won't be allowed to do things that require being in those groups.
Third, after adding a user to those groups, you will have to logout and back in *and* restart the messagebus service.

Keep in mind that HAL and friends are not really intended for use by the root user; the whole idea behind them is to make mounting devices easier for normal users - root can use mount(8) and umount(8) without problems.
 
Old 07-11-2007, 03:45 PM   #4
dizzi
Member
 
Registered: Jun 2004
Location: Yorkshire, UK
Distribution: Slackware, Mepis LiveCD
Posts: 146

Original Poster
Rep: Reputation: 15
Cheers Orbit for the link.


Quote:
Originally Posted by rworkman
First, it's generally frowned upon to run a desktop environment as root, so don't do that.
Fair enough m8, I don't normally do but I had just set up the system and was testing the installation before adding any users and what not. I just felt that it was a bit odd that root had no access to the file system via this route.

Quote:
Originally Posted by rworkman
Keep in mind that HAL and friends are not really intended for use by the root user; the whole idea behind them is to make mounting devices easier for normal users - root can use mount(8) and umount(8) without problems.
Insightful indeed, many thanks for that useful bit of info.

Cheers
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between real root system and normal root system zameer_india Linux - Newbie 17 07-04-2012 12:18 PM
How to gain Write-Access to a File System as Root tobiasw Linux - General 3 02-02-2011 08:02 AM
Kernel Panic - Not Syncing VFS: unable to mount root file system push Slackware 8 08-28-2006 07:17 AM
Giving a user (not a root) an access to some system commands asschay Linux - Newbie 8 09-08-2005 05:53 PM
Unable to login as root - system freezes rcs1000 Linux - Security 4 07-26-2005 05:17 PM


All times are GMT -5. The time now is 12:35 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