Re: RC2 and vfs.usermount

From: Tim Robbins (tjr_at_freebsd.org)
Date: 12/26/03

  • Next message: M. Warner Losh: "Re: Serial driver problems with 5.2-current"
    Date: Fri, 26 Dec 2003 13:31:39 +1100
    To: Harald Schmalzbauer <h@schmalzbauer.de>
    
    

    Harald Schmalzbauer wrote:

    >Hello,
    >
    >I'm trying to enable cd mount for regular user. User is in group operator and
    >cd0 (via atapicam) looks like this:
    >crw-rw-r-- 1 root operator - 4, 21 25 Dez 21:06:31 2003 cd0
    >
    >Also sysctl vfs.usermount returns:
    >vfs.usermount: 1
    >
    >But when I try to mount the cd I get the following error:
    >cd9660: /dev/cd0: Operation not permitted
    >
    >I absolutely don't understand why. It doesn't matter whether I use the
    >atapicam cd0 or the acd0.
    >What am I missing?
    >
    >
    Make sure that if CD9660 is not compiled into the kernel, cd9660.ko has
    been loaded by root before you try to mount the filesystem as an
    unprivileged user. The kernel tries to load the module automatically,
    but this fails if you're not root or if securelevel has been raised.
    Also be aware that the character set conversion options to
    mount_{cd9660,msdosfs,ntfs} do not always work properly for unprivileged
    users.

    Tim
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: M. Warner Losh: "Re: Serial driver problems with 5.2-current"

    Relevant Pages

    • Re: mount weirdness
      ... the first call to mount, just after boot ... the root partition, which contains /etc/fstab. ... grub and lilo load the kernel, but do no mounting of any kind (grub ... The kernel, once loaded, then mounts the root filesystem or loads code ...
      (uk.comp.os.linux)
    • Re: [RFC] FUSE permission modell (Was: fuse review bits)
      ... This can be disabled by one of two mount ... However you can't restrict root that way, ... you need the userspace daemon to set the permissions on the root ... > But why does the kernel need to know anything about this? ...
      (Linux-Kernel)
    • Re: The argument for fs assistance in handling archives
      ... reiser4 kernel will contain knowledge of fs type contained in a file. ... Unless there's some severe security issues with "mount this iso as fat ... and you get root access", ... | file-as-a-dir is a solution in search of problem. ...
      (Linux-Kernel)
    • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
      ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
      (FreeBSD-Security)
    • 2.6 kernel NFS root mount problem
      ... I'm tying to run 2.6.18 kernel on ARM AT91RM9200DK board with NFS mount ... usb usb1: Product: AT91 OHCI ... Unable to mount root fs via NFS, ...
      (Linux-Kernel)