Date: Wed, 8 Feb 2006 13:34:53 -0800 (PST) From: Jorge Aldana <jorge@salk.edu> To: martinko <martinkov@pobox.sk> Cc: freebsd-stable@freebsd.org Subject: Re: Trouble with mounting USB stick as user Message-ID: <Pine.LNX.4.62.0602081331510.13164@haller.snl.salk.edu> In-Reply-To: <dsdnob$4q4$1@sea.gmane.org> References: <dsdfe8$1sd$1@sea.gmane.org> <200602082003.k18K3ZQJ077077@lurza.secnetix.de> <dsdnob$4q4$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Yea, your permissions are off, need rw on them as well. I caught this thread and the 3 steps do it nicely! You may need to logoff and back on to get the group change going for your username though, well I did. I caught the devfs setting but does anyone have one already set? It should go in the rc.conf under /etc (I just want a ruleset or need one if one is readily avaialble) > revfs_system_ruleset="mydevfsrules" Jorge On Wed, 8 Feb 2006, martinko wrote: > Oliver Fromme wrote: >> martinko <martinkov@pobox.sk> wrote: >> > Oliver Fromme wrote: >> >> martinko wrote: >> >>> Oliver Fromme wrote: >> >>>> To enable user mounts, there are three conditions: >> >>>> 1. sysctl vfs.usermount=1 >> >>>> 2. The user must have read+write permission on the device >> >>>> which is to be mounted. This is usually accomplished >> >>>> by creating a special group for this device. >> >>>> 3. The user must _own_ the mountpoint (r/w permission is >> >>>> not sufficient). >> >>> >> >>> [...] >> >>> $ ll /dev/ad0 >> >>> crw-r----- 1 root operator 0, 96 Feb 8 18:27 /dev/ad0 >> >> >> >> Condition #2 isn't met: The device must be "rw" for for >> >> the user (in this case for the operator group). Note >> >> that "r" is not sufficient, even for read-only mounts. >> > >> > sure. but why did it mount /usr/home/mato/mnt/dos then ?? >> >> Maybe /dev/ad0s1 had different permissions? >> > > $ ls -la /dev/ad0* > crw-r----- 1 root operator 0, 96 Feb 8 18:27 /dev/ad0 > crw-r----- 1 root operator 0, 97 Feb 8 18:27 /dev/ad0s1 > crw-r----- 1 root operator 0, 98 Feb 8 18:27 /dev/ad0s2 > crw-r----- 1 root operator 0, 99 Feb 8 18:27 /dev/ad0s3 > crw-r----- 1 root operator 0, 101 Feb 8 19:27 /dev/ad0s3a > crw-r----- 1 root operator 0, 102 Feb 8 19:27 /dev/ad0s3b > crw-r----- 1 root operator 0, 103 Feb 8 18:27 /dev/ad0s3c > crw-r----- 1 root operator 0, 104 Feb 8 19:27 /dev/ad0s3d > crw-r----- 1 root operator 0, 105 Feb 8 19:27 /dev/ad0s3e > crw-r----- 1 root operator 0, 106 Feb 8 19:27 /dev/ad0s3f > crw-r----- 1 root operator 0, 100 Feb 8 18:27 /dev/ad0s4 > crw-r----- 1 root operator 0, 107 Feb 8 18:27 /dev/ad0s5 > crw-r----- 1 root operator 0, 108 Feb 8 18:27 /dev/ad0s6 > crw-r----- 1 root operator 0, 109 Feb 8 18:27 /dev/ad0s7 > crw-r----- 1 root operator 0, 110 Feb 8 18:27 /dev/ad0s8 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.0602081331510.13164>