Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
Hi, is there a way that you can mount the CD-ROM in other accounts? I have made several, but right now I can only listen to CD's when I'm root. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99

    Mount CD rom in account other than root


    Hi,

    is there a way that you can mount the CD-ROM in other accounts?
    I have made several, but right now I can only listen to CD's when I'm root.

    Hope you can help!

    Marinus.

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    You need to append /etc/fstab. It is probably already setup, you just don't know it is yet. The SlackBook has a brief description on how to get it working, and you can check the fstab man page ("man fstab") to configure it properly. Basically, what you're doing is allowing users to mount /dev/cdrom in /mnt/cdrom (that's the default cdrom mount point in Slack).

  3. #3
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Can you post the line in your /etc/fstab file that has your CDROM? I think maybe all you need is "users" to be included in the "options" column.
    /IMHO
    //got nothin'
    ///this use to look better

  4. #4
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99
    Hi,

    here's the fstab contents.

    /dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0

    Thanks for the hints, I didn't even know about this file.

    Marinus,

  5. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Quote Originally Posted by Marinus
    /dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
    Exchange "owner" to "users".

    Then, when you need to mount it, just type "mount /mnt/cdrom" and it'll mount it there.

  6. #6
    Linux Enthusiast
    Join Date
    Aug 2005
    Posts
    542
    I see... I was having the same problem

  7. #7
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99
    Ok,

    I'll try right away.
    In man fstab is says user.
    Is that something else?

  8. #8
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Quote Originally Posted by Marinus
    In man fstab is says user.
    Go ahead an use "user" and not "users".

  9. #9
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99
    marinus@host:~$ mount /mnt/cdrom
    mount: I could not determine the filesystem type, and none was specified

    hmmmm ..

    Any ideas??
    And does this all mean that I have to add /mnt/cdrom (in whatever form) to rc.local?

    Thx..

  10. #10
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Quote Originally Posted by Marinus
    Ok,

    I'll try right away.
    In man fstab is says user.
    Is that something else?
    My understanding of the difference between "user" and "users" is that with "user", only the user who mounted the filesystem is able to umount it, while with "users", any user can umount.
    /IMHO
    //got nothin'
    ///this use to look better

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •