FFS permission issue
I have just finished configuring my OBSD installation, dd`ed it onto the first HDD [the second one containt two partitions:
1. OpenBSD installation partition which contains few typical system slices
2. OpenBSD FFS storage partition [which is accessible from within OBSD as "wd1i"]
I was going to make wd1i writable for me [user was added to wheel and operator group], but apparently I have no luck with writing onto this partition.
I tried to change permissions, but It gave me nothing. The only thing that helped was to chown -R user /dev/wd1i.
I really want to avoid messing with /dev permissions if possible, so my question is: is it possible to let the regular user mount wd1i in a non-invasive manner?
What should I configure? and how should the /mnt dir permissions look like?
Thanks for any help
A mount point node must be an existing directory for a mount to succeed (except in the special case of /, of course). Only the superuser may mount file systems unless kern.usermount is nonzero (see sysctl(8)), the special device is readable and writeable by the user attempting the mount, and the mount point node is owned by the user attempting the mount.
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Thank you for your answer.
What do you think are the best permissions for this type of dev and mnt dir?
EDIT: I did not make myself clear.
I would like to make a regular user able to write to wd1i partition, although
I don not want him to be able of mounting that particular partition.
EDIT2: OK, this issue is currently the past.
I`ve managed to solve it just by chowning mounted /mnt/wd1i/* files.
It is a perfect an non-invasive way I was willing to implement, because the unmounted mount point has typical system permissions - root/wheel.
Last edited by marc; 2nd February 2009 at 07:26 PM.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Permission problems after restore||Crotalus||FreeBSD Installation and Upgrading||3||5th February 2009 01:17 PM|
|MySQL permission oddity||Mantazz||FreeBSD Ports and Packages||4||13th December 2008 08:06 PM|
|Permission denied (publickey). Help pls||rex||FreeBSD General||13||14th October 2008 08:54 PM|
|user permission...||lumiwa||FreeBSD General||12||30th September 2008 02:28 AM|
|Permission denied||delboy||FreeBSD Ports and Packages||11||24th May 2008 09:26 PM|