You are not logged in.

#1 2004-07-13 15:56:14

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

fstab again :-/

hi there my problem is the fsab again, i edited it several times with just a little success

for exaple, fstab:

/dev/discs/disc0/part8  /mnt/mukku  vfat     defaults,umask=0022   0      0
/dev/discs/disc1/part1 /mnt/G-muell vfat rw,users,defaults,umask=0022 0      0
/dev/discs/disc1/part2 /mnt/I vfat rw,users,auto,umask=0022    0      0
/dev/discs/disc0/part5 /mnt/E-rip vfat rw,users,defaults,umask=0022   0      0

as user mkdir -> Permission denied
but after un and re mount it works.. for example:
umount /mnt/I and mount /mnt/I
what do i have to change that this will work????

first i thounght editing is not possible due to ntfs, but after converting to fat32 i noticed the second problem..... btw i don´t really know what umask=2200 is for  and what about the two "0" after each line?
neither man fstab nor man mount helps me to get what i want:

after startup all hd are mounted writable for a user

greetings matto


// DAMNiAM //

Offline

#2 2004-07-13 20:48:24

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: fstab again :-/

Umask IS for setting permissions. It is explained in the manual but if you want to know more just use google.

Try this in your /etc/fstab

/dev/discs/disc1/part2 /mnt/I vfat defaults,umask=000 0 0

This will allow any user to do anything on  your fat32 partition. There are differrent options also available (like setting code pages for non english characters if filenames etc. etc.) - just search for mount fstab vfat examples.
BTW change and save your fstab as root then umount /mnt/I and mount /mnt/I again as root too. Then your users will be able to modify the contents of your vfat partition.

Offline

#3 2004-07-14 07:22:41

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

Re: fstab again :-/

thank you! it works!!!!
greetings matto


// DAMNiAM //

Offline

Board footer

Powered by FluxBB