Re: [Pcbsd-developer] comments about 1.1 upgrade
Status: Beta
Brought to you by:
kmoore134
From: Federico L. <flo...@gm...> - 2006-05-28 13:14:32
|
On 5/28/06, Andrei Kolu <an...@gm...> wrote: > > =DChel kenal p=E4eval (laup=E4ev 27 mai 2006 3:02 pm) kirjutas Andrei Kol= u: > > Hello! > > > > In case someone missed: > > HXC wrote: > I have added the following lines to fstab: > Code: > /dev/ad1s1 /mnt/ad1s1 msdosfs rw 0 0 > . This works and every boot my fat partition gets mounted. However only > root > can read/write and I would like that every user can do that. How can I > achieve this? > > antik wrote: > add user to group "operator" and fill files with following info: > > /etc/devfs.rules > > Code: > [devfsrules_common=3D7] > add path 'ad*' mode 666 group operator > add path 'acd*' mode 660 group operator > add path 'cd*' mode 660 group operator > add path 'pass*' mode 660 group operator > add path 'xpt*' mode 660 group operator > > > /etc/rc.conf: > > Code: > devd_enable=3D"YES" > devfs_system_ruleset=3D"devfsrules_common" > > > or something like this... You could also use the -u and -g options of mount, eg: mount_msdos -u 1001 -g 1001 /dev/ad0s1 /mnt/msdos That will make the owner the uid and gid you specify. I'm not quite sure howto do this in the fstab though. ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications i= n > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmdlnk&kid=107521&bid$8729&dat=121642 > _______________________________________________ > PCBSD-Developer mailing list > PCB...@li... > https://lists.sourceforge.net/lists/listinfo/pcbsd-developer > |