Den Mon, 23 May 2005 18:57:01 +0200 skrev Henning Wangerin:
> On Sun, 24 Apr 2005 21:51:12 +0200, Kasper Dupont wrote:
>
>> Virker den her linie som ønsket?
>>
>> usb -fstype=vfat,fmask=111,dmask=000 :/dev/sda4
>
> Nej desværre ikke.
> Jeg får stadig kun læseadgang til filerne, og de er ejet af root
>
> sh-2.05b$ dir /misc/usb
> total 11736
> drwxr-xr-x 3 root root 16384 Jan 1 1970 .
> drwxr-xr-x 3 root root 0 May 22 13:15 ..
> drwxr-xr-x 2 root root 8192 May 21 11:49 automatisk
> -rwxr-xr-x 1 root root 26112 May 21 13:51 rec01.wav
> -rwxr-xr-x 1 root root 10235904 May 21 14:48 rec02.wav
> -rwxr-xr-x 1 root root 1725952 May 21 15:01 rec03.wav
> sh-2.05b$
>
> Andre gode forslag?
Linux-2.4? Så skal du bruge umask=000 i stedet for fmask/dmask, de er
først med i nyere versioner.
fra mount(8):
umask=value
Set the umask (the bitmask of the permissions that
are not present). The default is the umask of the
current process. The value is given in octal.
dmask=value
Set the umask applied to directories only. The
default is the umask of the current process. The
value is given in octal. Present since 2.5.43.
fmask=value
Set the umask applied to regular files only. The
default is the umask of the current process. The
value is given in octal. Present since 2.5.43.
Mvh
Kent
--
Hard work may pay off in the long run, but lazyness pays off right now.