Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > Everything BSD
Reload this Page Why can't i mount a USB pendrive with the short way nor normal user???
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Everything BSD For all discussions regarding Free/NetBSD and OpenBSD.

Reply
 
Thread Tools Display Modes
Old 02-17-2008   #1 (permalink)
Saltamontes
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 44
Why can't i mount a USB pendrive with the short way nor normal user???

Im trying to mount my USB pendrive but i can do it only as root and with the long way.

I can mount it using
Code:
#mount -t msdos /dev/da0s1 /mnt/dti
and it does it

also i try
Code:
#mount /mnt/dti
but shown an error, i don't remember which

and as normal user ( console and xffm on xfce4 ) shows:
Code:
$mount -t msdos /dev/da0s1 /mnt/dti
mount_msdos_ -o user: option not supported

$mount /mnt/dti
mount_msdos_ -o user: option not supported
I already added a line in fstab:
/dev/da0s1 /mnt/dti msdos rw,user,noauto 0 0

the folder /mnt/dti is owned by my normal user with all persissions.

Which could be my mistake???

Thanks to all
Saltamontes is offline   Reply With Quote
Old 02-18-2008   #2 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
To mount usb drives as a normal user start at this section:
Quote:
To make this device mountable as a normal user, certain steps have to be taken...
__________________
FreeBSD Handbook & FAQ // CentOS wiki
anomie is offline   Reply With Quote
Old 02-18-2008   #3 (permalink)
Saltamontes
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 44
Oh my . . .

that is dark magick

I thaught that it isn't different than linux

Thanks

I need to be more familiar with this ways.
Saltamontes is offline   Reply With Quote
Old 02-24-2008   #4 (permalink)
Saltamontes
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 44
i followed the guide but don't works

-added an user with:
pw groupmod operator -M myuser

-added rule to /etc/devfs.conf (devfs.rules don't exists) :
[localrules=1]
add path 'da*' mode 0660 group operator
(also i try 'da0s1')

-enabled ruleset on /etc/rc.conf
devfs_system_ruleset="localrules"

-mount fs allowed to normal users on /etc/sysctl.conf
vfs.usermount=1

and created a directory named "myuser" on /mnt, owned by my user with all privileges

also i have a line on fstab:
/dev/da0s1 /mnt/myuser msdos rw, user,noauto 0 0
also i try
/dev/da0s1 /mnt/myuser msdosfs rw, user,noauto 0 0

but i tried:

mount /mnt/myuser and shows:
mount_nsdosfs: -o user: option not suported

and

mount -t msdos /dev/da0s1 /mnt/myuser nad shows:
mount_msdosfs: /dev/da0s1: Permission denied

what else shoud i try???
or i made a mistake???

Thanks to all
Saltamontes is offline   Reply With Quote
Old 02-24-2008   #5 (permalink)
anomie
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,699
A couple things that don't look right to me...

Quote:
Originally Posted by Saltamontes
-added an user with:
pw groupmod operator -M myuser
I don't think this is causing your problem, but I think you wanted 'groupadd' (not 'groupmod'). There should be at least two accounts in operator: root and your user.

Quote:
Originally Posted by Saltamontes
-added rule to /etc/devfs.conf (devfs.rules don't exists)
So create it! You have to follow the directions, including putting instructions in the right file.

Give that a try and hopefully you'll be all set. Reboot when finished with the devfs changes. (Or you could restart devfs and add the sysctl MIB manually, but since it's a workstation it is easier to just reboot.)
__________________
FreeBSD Handbook & FAQ // CentOS wiki
anomie is offline   Reply With Quote
Old 05-22-2008   #6 (permalink)
bobo690113
Just Joined!
 
Join Date: May 2008
Posts: 1
Arrow Nice topic

Nice topic,up up up.------------------------------------------------------------------------------------------------------------------------------wow power leveling,wow powerleveling,world of warcraft power leveling,world of warcraft powerleveling,wow gold
bobo690113 is offline   Reply With Quote
Old 05-29-2008   #7 (permalink)
Saltamontes
Just Joined!
 
Join Date: Oct 2007
Location: Mexico
Posts: 44
Many days have passed since mi last experiment with FreeBSD, now i come back.

Thanks anomie, devfs.rules was the mistake.

After all, FreeBSD is not difficult, some uncommon in the beginning...

Now im running FreeBSD 7.0 AMD64 with XFCE, audio enabled (debian 4.0R3 with the last kernel dont enable it), MySQL running...(i have some problems with resolution)

and i have compiled some soft from ports (very easy compared with Linux)

Thanks again
Saltamontes is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
noauto not recognized by mount xinhua.ji Redhat / Fedora Linux Help 2 10-09-2007 10:54 AM
cannot find mount point for /dev/sdc0 steveoffthehook Debian Linux Help 4 09-12-2007 03:03 PM
Samba / CIFS mount point won't allow read/write for non-root user stimpy77 Servers 2 09-04-2007 05:50 PM
TFT Monitor goes black when I try to run suse eval CD Metalbarthug Mandriva Linux Help 16 11-01-2005 04:28 AM
Access attempts Krendoshazin Slackware Linux Help 0 02-07-2005 12:25 PM


All times are GMT. The time now is 11:49 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0