Mount / Umount in user mode

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default Mount / Umount in user mode

    Hi,
    How to mount or umount any file system in user mode ?
    like cdrom, usb drive ... ?

    I have hearn vfs.usermount with sysctl but I have set it and nothing !

    How to make it work without setuid to mount and umount
    and without doing it with sudo

    Ok thx, See ya

    My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE

    --
    Vincent Bachelier <vincent_bachelier@yahoo.fr>
    Language: Francais / English
    Societe : Solintech
    Site pro: [url]http://www.solintech.fr[/url]
    Project :
    Ripperwww: [url]http://www.sourceforge.net/projects/ripperwww[/url]

    Citation (fortune):

    I for one cannot protest the recent M.T.A. fare hike and the
    accompanying promises that this would in no way improve service. For
    the transit system, as it now operates, has hidden advantages that
    can't be measured in monetary terms.

    Personally, I feel that it is well worth 75 cents or even $1 to have
    that unimpeachable excuse whenever I am late to anything: "I came by
    subway." Those four words have such magic in them that if Godot should
    someday show up and mumble them, any audience would instantly
    understand his long delay.
    Bachelier Vincent Guest

  2. Similar Questions and Discussions

    1. Mount in user mode && USBD for external HDD
      Hi, well I have 2 problems the first: I have external hdd and I want that the system create a symlinks when I turn on my hdd usbdev -v give...
    2. how umount for reiserfsck
      Suse Linux 8.0 (Raid 5 SCSI) is crashed periodically (it doesn't react to the mouse or keyboard and can't be accessible throw network)...
    3. user mode mount question
      Hi, Is there a solution to mount a winnt network share in user mode that is not to use standard 'mount -t smbfs' command. The problem is that...
    4. mount second hdd for user
      Hello, I am trying to mount my second hdd for user, but I keep failing :-D Here are some details: I use Mandrake 9.1, first hdd has linux...
    5. Use Design Mode with User Control?
      I have created a user control using the HTML view, and I now want to switch to Design mode so that it will automatically enter the controls used on...
  3. #2

    Default Re: Mount / Umount in user mode

    Hi there,
    it's right! You must set the sysctl vfs.usermount=1, but you also have to
    assure that the user you want to mount the cdrom owns the mountpoint,
    tipically, as root you should type:
    chown <user> /cdrom

    Hope this helps,

    Cheer,

    Bachelier Vincent wrote:
    > Hi,
    > How to mount or umount any file system in user mode ?
    > like cdrom, usb drive ... ?
    >
    > I have hearn vfs.usermount with sysctl but I have set it and nothing !
    >
    > How to make it work without setuid to mount and umount
    > and without doing it with sudo
    >
    > Ok thx, See ya
    >
    > My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE
    >
    --
    Pietro Cerutti
    -- Powered by FreeBSD --
    SDF Public Access UNIX System
    sdf.lonestar.org


    --
    Pietro Cerutti
    -- Powered by FreeBSD --
    SDF Public Access UNIX System
    sdf.lonestar.org
    Pietro Cerutti Guest

  4. #3

    Default Re: Mount / Umount in user mode


    ok thx, all work's well :d

    Le Fri, Feb 25, 2005 at 12:07:05AM +0000, Pietro Cerutti a écrit:
    > From: Pietro Cerutti <pietro@sdf.lonestar.org>
    > To: [email]freebsd-questions@freebsd.org[/email]
    > Date: Fri, 25 Feb 2005 00:07:05 +0000
    > Subject: Re: Mount / Umount in user mode
    >
    > Hi there,
    > it's right! You must set the sysctl vfs.usermount=1, but you also have to
    > assure that the user you want to mount the cdrom owns the mountpoint,
    > tipically, as root you should type:
    > chown <user> /cdrom
    >
    > Hope this helps,
    >
    > Cheer,
    >
    > Bachelier Vincent wrote:
    > >Hi,
    > >How to mount or umount any file system in user mode ?
    > >like cdrom, usb drive ... ?
    > >
    > >I have hearn vfs.usermount with sysctl but I have set it and nothing !
    > >
    > >How to make it work without setuid to mount and umount
    > >and without doing it with sudo
    > >
    > >Ok thx, See ya
    > >
    > >My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE
    > >
    >
    > --
    > Pietro Cerutti
    > -- Powered by FreeBSD --
    > SDF Public Access UNIX System
    > sdf.lonestar.org
    >
    >
    > --
    > Pietro Cerutti
    > -- Powered by FreeBSD --
    > SDF Public Access UNIX System
    > sdf.lonestar.org
    --
    Vincent Bachelier <vincent_bachelier@yahoo.fr>
    Language : Francais / English
    Societ(e/y) : Solintech
    Site pro : [url]http://www.solintech.fr[/url]

    Sourceforge
    Project :
    Ripperwww: [url]http://www.sourceforge.net/projects/ripperwww[/url]

    Citation (fortune):

    "There are two ways of constructing a software design: One way is to
    make it so simple that there are obviously no deficiencies, and the
    other way is to make it so complicated that there are no obvious
    deficiencies."
    -- C. A. R. Hoare
    Bachelier Vincent Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139