Re: Operation not permitted when mounting floppy or cdrom

2007-02-20 Thread lysergius2001

Thanks everyone.

On 2/19/07, Oliver Fromme [EMAIL PROTECTED] wrote:


lysergius2001 [EMAIL PROTECTED] wrote:
 FreeBSD 6.2.  Recently installed will not permit user mount of floppy
disk,
 cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules,
fstab,
 /dev.  Nothing seems to make a difference.

For ordinary users to be able to mount file systems, three
conditions have to be met:

-1-  sysctl vfs.usermount=1

-2-  The user must have read+write access to the device
 to be mounted.  Usually you will solve that via
 group permissions, e.g. create a group for people
 who are allowed to mount a certain device, then put
 those people into that group (via /etc/group), and
 change the permission modes of the device so that
 the group can read+write it.

-3-  The user must own the mount point.  Note that read+
 write access is not sufficient here, and group rights
 don't matter -- the user must be the owner of the
 mount point.

Best regards
   Oliver

--
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH  Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

C is quirky, flawed, and an enormous success.
-- Dennis M. Ritchie.





--
Lysergius says, Stay light, but trust gravity
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Operation not permitted when mounting floppy or cdrom

2007-02-19 Thread Oliver Fromme
lysergius2001 [EMAIL PROTECTED] wrote:
  FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
  cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules, fstab,
  /dev.  Nothing seems to make a difference.

For ordinary users to be able to mount file systems, three
conditions have to be met:

-1-  sysctl vfs.usermount=1

-2-  The user must have read+write access to the device
 to be mounted.  Usually you will solve that via
 group permissions, e.g. create a group for people
 who are allowed to mount a certain device, then put
 those people into that group (via /etc/group), and
 change the permission modes of the device so that
 the group can read+write it.

-3-  The user must own the mount point.  Note that read+
 write access is not sufficient here, and group rights
 don't matter -- the user must be the owner of the
 mount point.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH  Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

C is quirky, flawed, and an enormous success.
-- Dennis M. Ritchie.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Operation not permitted when mounting floppy or cdrom

2007-02-17 Thread lysergius2001

FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules, fstab,
/dev.  Nothing seems to make a difference.

Any ideas welcomed...

Thanks
--
Lysergius says, Stay light, but trust gravity
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Operation not permitted when mounting floppy or cdrom

2007-02-17 Thread Garrett Cooper

lysergius2001 wrote:

FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules, 
fstab,

/dev.  Nothing seems to make a difference.

Any ideas welcomed...

Thanks


You don't have access to the /dev nodes. Make sure that your user has 
the ability to mount.


Make sure that this sysctl is also set to 1:

vfs.usermount: 1

If that doesn't work, then we'll have to get more info about the devices 
you're trying to mount (ls -l), what groups you're in, etc.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Operation not permitted when mounting floppy or cdrom

2007-02-17 Thread Momchil Ivanov
На 17.2.2007 21:11 lysergius2001 пише:
 FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
 cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules,
 fstab, /dev.  Nothing seems to make a difference.

 Any ideas welcomed...

 Thanks

Try setting the vfs.usermount sysctl to 1

-- 
This correspondence is strictly confidential. Any screening, filtering
and/or production for the purpose of public or otherwise disclosure is
forbidden without written permission by the author signed above. If you are
not the intended recipient, please immediately notify the sender and
permanently delete any copies

PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B


pgpSBbroyeJzM.pgp
Description: PGP signature