Mount filesystem with a regular user
I have a desktop installation of FreeBSD 7, and that's why I need my regular user to have write access to some mounted filesystems. How can I mount these filesystems? I can't see an option to mount giving user ownership rights.
I tried with
sysctl -w vfs.usermount=1
then change ownership of /mnt directory:
chown ivanatora:ivanatora /mnt/*
and then issue mount /mnt/storage/ with user ivanatora, and I got:
chown: storage: Invalid argument
Wtf? What does 'Invalid argument' means? Never seen that for chown.
Anyway I tried chowning a different directory with success, and I can mount it with my user.
The question is how would it be mounted after a reboot? I don't want to remount these everytime the system starts. There must be a fstab option to set the uid of that mount, maybe?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Regular expressions: renaming files with 'sed'||J65nko||Guides||26||15th October 2010 09:03 PM|
|PHP regular expression help||cajunman4life||Programming||2||16th August 2008 06:17 PM|
|are you an former bsdforum regular?||ephemera||Off-Topic||18||28th July 2008 01:57 PM|
|dvd filesystem type||chill||FreeBSD General||6||17th June 2008 09:22 AM|
|Best Filesystem||thavinci||FreeBSD General||25||29th May 2008 04:32 PM|