[win32] Probably bug: tracking permissions bits on windows

Jan Hudec bulb at ucw.cz
Sat Nov 5 22:37:36 GMT 2005


On Sat, Nov 05, 2005 at 21:14:25 +0300, Alexey Shamrin wrote:
> 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'

My cygwin actually creates .lnk files, that behave like symlinks to the
limit permitted by windows. That's Win XP SP2 and recently updated cygwin.
It would be nicest if bzr actually managed to create symlinks like that.

The .lnks created by cygwin work for other programs well, but I was not able
to create a .lnk manually that cygwin would see as a symlink.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051105/44b0913b/attachment.pgp 


More information about the bazaar mailing list