[win32] Probably bug: tracking permissions bits on windows

Aaron Bentley aaron.bentley at utoronto.ca
Sat Nov 5 15:05:17 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
| Yes; on Windows I think we would want to store the permissions in the
| working inventory and pay no attention to the permissions of the working
| copy files.

Because of this issue, and symlinks, I think we should have a
"WindowsWorkingTree", so we can separate that behavior out.

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.

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.

Aaron

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDbMoV0F+nu1YWqI0RApmqAJ0T3xNm91GpP7OOBj2GutowxbuScgCcDbNk
FMHZ2yf5DqmTi/ZPdyWgQvQ=
=lSiJ
-----END PGP SIGNATURE-----




More information about the bazaar mailing list