Date: Sun, 18 Jan 2009 22:19:59 -0200 From: Ramiro Caso <misha_78@hotmail.com> To: <freebsd-questions@freebsd.org> Subject: Cannot perform user mounts after upgrade Message-ID: <BAY102-W171EBA042719112EF65F0AE1D30@phx.gbl>
next in thread | raw e-mail | index | archive | help
I can't perform user mounts for my pendrive=2C and I used to be able to=2C = before making an upgrade. Moreover=2C user mounts for both /dev/cd0 and /dev/fd0 a= re still operational. Root mounts are possible=2C but it's doesn't strike me a= s good practice=2C and it is a little bit of an annoyance. I need help=2C at least= a hint in some direction or other=2C because at this point I'm clueless. I'm running FreeBSD 7.1-RELEASE-p2=2C GENERIC kernel=2C i386. I just did a = major ports updating=2C including perl-5.8.8 =3D=3D> perl-5.8.9. I ran the perl-after-upgrade script=2C and warned me about possible problems with /usr/local/sbin/snmpd and /usr/local/sbin/snmptrapd=2C but nothing else. I = also recently installed /usr/ports/misc/compat5x=2C among other ports. I have so= me security and related ports installed=2C but they never caused problems befo= re. The command I used is the expected one: % mount -t msdosfs /dev/da0s1 ~/media/pendrive Now it gives the following (quite uninformative) error: mount_msdosfs: /dev/da0s1: : Operation not permitted Strangely enough=2C a user mount with a read-only option works just fine: % mount -o ro -t msdosfs /dev/da0s1 ~/media/pendrive The mount point still has the same ownership (me) and permissions (755) as before. Both /etc/devfs.rules=2C /etc/rc.conf and /etc/sysctl.conf have the relevant lines for allowing user mounts=2C namely: /etc/sysctl.conf =3D=3D> vfs.usermount=3D1 /etc/devfs.rules =3D=3D> [localrules=3D10] add path 'da*s*' mode 0660 group usb /etc/rc.conf =3D=3D> devfs_system_ruleset=3D"localrules" I don't recall this being necessary=2C but I also have devd enabled in rc.c= onf=2C although with no special rules for umass in devd.conf. Needless to say=2C I= belong to group usb. This configuration worked before just fine. Any ideas? _________________________________________________________________ Disfrut=E1 los mejores contenidos en MSN Video. http://video.msn.com/?mkt=3Des-xl=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY102-W171EBA042719112EF65F0AE1D30>