Re: CIFS improvements/wider testing needed

From: VALETTE Eric RD-MAPS-REN
Date: Tue Nov 22 2005 - 12:24:40 EST


Steve French wrote:
> VALETTE Eric RD-MAPS-REN wrote:
>
>>Steve French wrote:
>>
>>
>>>VALETTE Eric RD-MAPS-REN wrote:
>>>
>>>
>>>
>>>>Steve French wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Eric,
>>>>>
>>>>>
>>>>>
>>>>Well I would be surprised the "cat >> titi" command does any of this
>>>>byte range lock. If the "create and later rewrite the same file"
>>>>sequence fails, with a simple cat command (cat > titi ... ^D; cat >>
>>>>titi), how can it works with complicated applications?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>Make sure that you let me know if your cat example works when mounted
>>>with the relatively new "noperm" mount option on the client. At least
>>>then we will know whether we are looking at a problem with access
>>>control on the server (ntfs acls) or client (unix mode bits and the
>>>.permission entry point)
>>>
>>>
>>
>>Works with the "noperm" mount option.
>>
>>--eric
>>
>>
>>
> Could you run "stat titi" and/or "ls -l titi" between the
> "cat > titi"
> and the
> "cat >> titi"

cat > toto
toto
8 r-ptxp-ceva6380:/network/home/test3->ls -l toto
-rw-r--r-- 1 root root 5 2005-11-22 17:50 toto
9 r-ptxp-ceva6380:/network/home/test3->cat >>titi
tata
10 r-ptxp-ceva6380:/network/home/test3->ls -l toto
-rw-r--r-- 1 root root 5 2005-11-22 17:50 toto

OK, I'm not root.root but why does my identity seem to change between
the file creation and the file rewrite?

-- eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/