[win32] Probably bug: tracking permissions bits on windows

Alexey Shamrin shamrin at gmail.com
Sat Nov 5 18:14:25 GMT 2005


On 05/11/05, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> I don't know exactly what to do with symlinks.  It may make sense to
> create a plaintext file on disk with the symlink target as its text. The
> WindowsWorkingTree would cause it to appear to bzrlib as a symlink.
> That would allow Windows users to manipulate the symlink target
> directly, and provide a dummy file, making it harder to accidentally
> reuse that filename.

It's interesting to look how Cygwin handles symlinks:

>>> os.chdir('c:/soft/cygwin/bin/')
>>> file('gunzip.exe','rb').read()
'!<symlink>gzip.exe\x00'

> Windows was the reason I wanted to represent the executable bit, because
> I imagined a "bzr set-property" command that Windows users would be able
> to use to set/unset the executable bit.

--
Alexey




More information about the bazaar mailing list