[SLE] mount: only root can mount /dev/hdd on /media/dvdrecorder
Here is my line from /etc/fstab /dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 How can I make it so that users can access the dvd drive? Thanks, Steve. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Add "user" to the options? HTH /Jon -- YMMV -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday 08 July 2006 09:19, Jon Clausen wrote:
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Add "user" to the options?
HTH /Jon
Hi Jon. Hi everyone. Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0 Cheers, Steve. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
steve wrote:
On Saturday 08 July 2006 09:19, Jon Clausen wrote:
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive? Add "user" to the options?
HTH /Jon
Hi Jon. Hi everyone.
Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0
Cheers, Steve.
One of several that I've used is /dev/hdc /media/hdc auto ro,noauto,user,exec 0 0 But note: $ ls -ld /media/hdc drwxrwxr-x 2 root cdrom 1024 2006-02-17 09:08 /media/hdc People who are permitted to use the drive to burn opticals are entered into the "cdrom" group. hth, ken -- As a statistic, the US Unemployment Rate is like saying that no one is drowning because the flood waters have risen only five inches today. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sat, 2006-07-08 at 10:37 +0200, steve wrote:
On Saturday 08 July 2006 09:19, Jon Clausen wrote:
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Add "user" to the options?
HTH /Jon
Hi Jon. Hi everyone.
Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Saturday 08 July 2006 17:34, Mike McMullin wrote:
On Sat, 2006-07-08 at 10:37 +0200, steve wrote:
On Saturday 08 July 2006 09:19, Jon Clausen wrote:
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Add "user" to the options?
HTH /Jon
Hi Jon. Hi everyone.
Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid ,nodev,exec,iocharset=utf8 0 0
Hi and thanks. Thats exactly what I have now but I still can't mount the disk. Or rather I can but I have to do it as root. I see /dev/dvdrecorder is a link to /dev/hdd. I removed the original line in /etc/fstab and let Yast>hardware add it for me. I can't see any errors relating to this under /var/log Can anyone give me any clues? Steve. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
steve a écrit :
Hi and thanks.
Thats exactly what I have now but I still can't mount the disk. Or rather I can but I have to do it as root.
I see /dev/dvdrecorder is a link to /dev/hdd. I removed the original line in /etc/fstab and let Yast>hardware add it for me.
I can't see any errors relating to this under /var/log
Can anyone give me any clues? Steve.
If you add "user" as an option in the fstab entry for /dev/dvdrecorder, it should solve your problem. Michel -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
If I do the following message is showed: mount: unknown filesystem type 'subfs' Thadeu On Sunday 09 July 2006 04:48, Catimimi wrote:
If you add "user" as an option in the fstab entry for /dev/dvdrecorder, it should solve your problem.
Michel
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, Jul 09, 2006 at 08:22:02AM -0300, Jose Thadeu Cavalcante wrote:
If I do the following message is showed: mount: unknown filesystem type 'subfs'
I missed the first part of this thread... is this on a 10.1 machine? If so, subfs is dead and buried in 10.1, thank goodness. Michael -- San Francisco, CA -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-07-09 at 09:28 +0200, steve wrote:
Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid ,nodev,exec,iocharset=utf8 0 0
Hi and thanks.
Thats exactly what I have now but I still can't mount the disk. Or rather I can but I have to do it as root.
Notice that with the above line _you_ do not mount the disk; rather, the system does so automatically as soon as it detects a disk in the drive. No wonder that users can not "mount" it: it is not configured for manual mount. If you want to manually mount the cdrom, and allow users to mount as well, you need something like this: /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEsQtntTMYHG2NR9URAm/2AKCSX0HOwqtMU+i2O3X5JvoFfvOBuwCeIERO dE52oDZEHO+VKQGuipKDNZE= =CU7I -----END PGP SIGNATURE----- -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sun, 2006-07-09 at 09:28 +0200, steve wrote:
On Saturday 08 July 2006 17:34, Mike McMullin wrote:
On Sat, 2006-07-08 at 10:37 +0200, steve wrote:
On Saturday 08 July 2006 09:19, Jon Clausen wrote:
On Sat, 08 Jul, 2006 at 08:43:57 +0200, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Add "user" to the options?
HTH /Jon
Hi Jon. Hi everyone.
Nope. Can anyone send me the fstab line for their dvd recorder? SuSE 10.0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid ,nodev,exec,iocharset=utf8 0 0
Hi and thanks.
Thats exactly what I have now but I still can't mount the disk. Or rather I can but I have to do it as root.
I don't mount that disk unless software is writing to it. I have a DVD (reader) drive that I use to read disks, checking my /etc/fstab, it has the exact same attributes save for the /dev/ and /media/. I do actually allow KDE to mount it when disks are inserted.
I see /dev/dvdrecorder is a link to /dev/hdd. I removed the original line in /etc/fstab and let Yast>hardware add it for me.
I can't see any errors relating to this under /var/log
Can anyone give me any clues?
I'm not sure if this is of any benefit, but it's the line from my /etc/fstab for automounting by users of a fat32 partition: /dev/hda1 /mnt/ME vfat users,gid=users,umask=0002,iocharset=utf8 0 0 You might find something to tinker with in it. There have been several threads on mounting optical drives, but I don't have my histories sorted out yet, they probably have just what you are looking for in them, which means a google search of the archives could be a good place to look further. Mike -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On 08/07/06 00:43, steve wrote:
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive?
Thanks, Steve.
I don't understand the problem. The filesystem is subfs, so the drive should be automatically mounted as soon as you put in a disc. To make life even easier, the drive should be automatically umounted as soon as you eject. I just verified all this on my own system, SuSE 9.3, with an fstab entry identical to yours. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Here is my line from /etc/fstab
/dev/hdd /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
How can I make it so that users can access the dvd drive? Just been reading the fine manual entries of man fstab and man mount
Hi Steve, steve wrote: pages and saw a possible glitch. The 'noauto' option makes the device not be mounted at boot. At boot time only root can mount devices, yet later you are asking a non privileged user to mount the device. Perhaps the user should have root persmissions to access the device? Quoted from mount: (iii) Normally, only the superuser can mount file systems. However, when fstab contains the user option on a line, then anybody can mount the corresponding system. Thus, given a line /dev/cdrom /cd iso9660 ro,user,noauto,unhide Any user can mount the iso9660 file system found on his CDROM. Check the ORDER of the options ie user is before noauto. To me this would make a difference as 'noauto' first would mean only root can mount the device however with 'user' first the user would be given preferential treatment over root? Hope it helps Hylton -- ======================================================================== Currently using SuSE 9.2 Professional with KDE and Mozilla 1.7.2 Linux user # 229959 at http://counter.li.org ======================================================================== -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (10)
-
Carlos E. R.
-
Catimimi
-
Darryl Gregorash
-
Hylton Conacher(ZR1HPC)
-
Jon Clausen
-
Jose Thadeu Cavalcante
-
ken
-
Michael Nelson
-
Mike McMullin
-
steve