bzr and ntfsmount (fuse) issues?

Martin Pool mbp at canonical.com
Tue Aug 8 02:51:26 BST 2006


On  7 Aug 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Aaron Bentley wrote:
> > John Arbash Meinel wrote:
> How would you detect it?  On win32 we do call 'os.chmod()'. It just
> doesn't *do* anything. It seems to complicate things a lot to have to
> start doing mount-point detection.
> 
> It is Fuse which is setting EPERM when we try to call os.chmod(). Since
> it doesn't permit chmod() on an ntfs mount.

Well it's actually ENOTSUPP according to this report.

We can reasonably expect to do chmod on unix, but not on all
filesystems.  Since we can cope without it, we should issue a
user-visible warning (showing the filename) and continue.

-- 
Martin




More information about the bazaar mailing list