LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-06-2011, 07:57 PM   #1
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Rep: Reputation: 49
Sorry for this but I can't access the cdrom unless I am root & need to be a user.


Hello:

I am trying to install photoshop Elements 5.0 in Wine. The Wine instructions say not to install it as root, among a bunch of other things.

My System Settings for Removable Devices is set to automatically mount such devices.

My /etc/fstab, which I have messed with, looks like this:
Code:
/dev/sda2        swap             swap        defaults         0   0
/dev/sda1        /                ext4        defaults         1   1
/dev/sda3        /home            ext4        defaults         1   2
/dev/sda5        /mnt/backup      ext4       noatime,user_xattr 1 2
/dev/cdrom      /mnt/cdrom        auto       defaults           1   2
#/dev/sr0        /mnt/cdrob        auto        defaults         1   2
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
tmpfs            /tmp             tmpfs       defaults         0   0
What must I do to allow user 'rob' to access to the Photoshop cd through Dolphin so that I can use Wine to install it?

Thanks for any help with this,
 
Old 04-06-2011, 08:14 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Is user 'rob' part of the 'cdrom' group? If not, that's the first thing I would do.
 
1 members found this post helpful.
Old 04-06-2011, 08:14 PM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Does "rob" belong to the cdrom and plugdev groups?
 
1 members found this post helpful.
Old 04-06-2011, 08:15 PM   #4
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
If you have done a full install, you shouldn't need to add anything to /etc/fstab. Which groups are you in?
 
1 members found this post helpful.
Old 04-06-2011, 08:29 PM   #5
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Sorry, user rob is a member of:
floppy
dialout
audio
video
cdrom
plugdev
power
netdev
scanner
vboxusers
 
Old 04-06-2011, 08:40 PM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Take the cdrom line out of fstab.
 
1 members found this post helpful.
Old 04-06-2011, 08:46 PM   #7
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by bgeddy View Post
Take the cdrom line out of fstab.
Thank you.

I am waiting for virtualbox to finish installing something and then I will reboot.
 
Old 04-06-2011, 08:52 PM   #8
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
I am waiting for virtualbox to finish installing something and then I will reboot.
Possibly a good choice but you don't actually need to reboot the machine - just edit fstab and it should be good.
 
Old 04-06-2011, 09:05 PM   #9
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: LinuxMint 20 Cinnamon
Posts: 589

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by bgeddy View Post
Possibly a good choice but you don't actually need to reboot the machine - just edit fstab and it should be good.
Thanks a million! It works perfectly now! This has been driving me nuts!!!!!
 
Old 04-06-2011, 11:36 PM   #10
josiah
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 72

Rep: Reputation: 42
I don't know if this is the best approach, I have no problems with using a cdrom, but I a) use pmount (available on SlackBuilds.org), and b) include "users" among the mount options.

Code:
/dev/cdrom  /mnt/cdrom  auto  defaults,users  1  2
 
1 members found this post helpful.
  


Reply



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
How do I access "Root" & Root Privileges? Thouroughly Confused & Frustrated! geotev Linux - Networking 2 08-06-2007 05:58 PM
How to give cdrom access for user & can i mount FAT32 partition atomatically on boot? Ninja_212 *BSD 3 03-09-2005 03:01 PM
user cdrom access pmeyer Linux - Newbie 2 03-09-2004 08:58 AM
Why can't a non-root user mount a cdrom? dokterneo Slackware 8 12-21-2003 07:01 PM
Unresolved : Cannot access cdrom mount from any user except root??? acadcworks Linux - General 5 10-18-2002 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration