VFAT and users
Alexios Chouchoulas
alexios at vennea.demon.co.uk
Fri Oct 3 18:35:49 EEST 1997
On Thu, 2 Oct 1997, Vaios Papaioannou wrote:
> Jerei kaneis pws ginetai na xrhsimoioyn to vfat me write permisssions oi
> aploi users ??
To parakatw isxyei genika gia ta DOS (FAT/VFAT) partitions. Ypothetw oti
theleis na kaneis mount to DOS/WIN95 partition /dev/hda2 sto directory
/disk/dosc.
# mount -t msdos /dev/hda2 /disk/dosc -o umask=007,gid=20
H bale sto /etc/fstab ths ekshs grammh:
/dev/hda2 /disk/dosc msdos umask=007,gid=20 1 1
Ekshghsh:
umask=007: Afto leei oti ta file permissions olwn twn arxeiwn tou FS tha
einai ta fysiologika permissions tous AND (NOT umask). Dhladh an ena
directory exei rwxrwxrwx (0777) permissions, me umask 007 tha exei 0777 AND
NOT 007 = 0777 AND 0770 = 0770, dhladh rwxrwx---.
gid=20: Afto leei oti ola ta arxeia tou FS tha anhkoun sto Group ID 20.
Sto systhma mou exw ena group onomati "dos" me gid=20. Dinw ola ta arxeia
twn DOS partitions mou sto group dos kai den epitrepw se "others" na ta
peirazoun. Etsi otan thelw kapoios na mporei na dei ta DOS partitions, ton
bazw sto "dos" group. Afto ekshgei kai to umask.
Fantazomai oti sthn dikh sou periptwsh tha theleis na diwkseis to gid=20
teleiws kai na kaneis to umask=000, alla afto einai kai ligo trypa asfaleias
mia kai to DOS den dinei kai poly prosoxh se permissions klp. :-)
A, kai gia na mhn ksexname to RTFM, rikse mia matia sto mount(8).
Kalh tyxh!
Alexios
Alexios Chouchoulas '88 ,88' ,88' alexios at vennea.demon.co.uk
The Unpronounceable One ,o88oooo88ooooo88oo, axc at dcs.ed.ac.uk
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list