[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KDE linuxisms may confuse CIFS and will cause trouble on Windows
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-01-04 21:15:17
Message-ID: 200701041915.17566.thiago () kde ! org
[Download RAW message or body]
Juergen Pfennig wrote:
>Hi,
>the following might be a problem when porting KDE to Windows. And
> eventually it's a Problem for Samba (not to mention a genuine Windows
> file server) ...
>
>kMail for example opens ".trash.index" and then renames some other file
> to the name that is already open. This works on Linux but not
> necessarily on other operating systems. In Windows the file identity is
> given by the file name (no inode).
>
>In my case CIFS (on a Linux server) produces strange files starting
>with "cifs" or ".cifs" being followed by a decimal number.
>
>Shouldn't renames to open target files be taken as bugs (linux-only)?
Now, yes.
Until now, removing an open file was a legal thing to do. In fact, not
only was it quite common, it was even the recommended practice in some
circumstances.
I don't think you can remove an open file on Windows. Thus, you can't
rename something to an open file.
Each case where this happens has to be analysed: is the renaming
intentional or accidental? If it's accidental, it's a bug. If it was
intentional, we have to find a solution for Windows -- which hopefully
will work on the Unixes as well.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic