On Mon, 06 Feb 2006 02:22:43 -0700, Andrew Bennetts <spiv@wolfwood.twistedmatrix.com> wrote:
Author: spiv Date: Mon Feb 6 02:22:43 2006 New Revision: 15836
Modified: trunk/LICENSE trunk/twisted/vfs/adapters/sftp.py trunk/twisted/vfs/backends/osfs.py trunk/twisted/vfs/ivfs.py trunk/twisted/vfs/test/test_sftp.py Log: Start adding setMetadata to twisted.vfs, including the SFTP adapter and osfs backend.
This work is contributed by Canonical Ltd -- I've updated the list of copyright holders in LICENSE to reflect this.
This commit introduced a new failure on the Win32 buildslave. test_setAttrs fails like so: [ERROR]: twisted.vfs.test.test_sftp.SFTPAdapterOSFSTest.test_setAttrs File "c:\buildslave\win32-select\W32-full2.4-select\Twisted\twisted\vfs\test\test_sftp.py", line 136, in test_setAttrs self.sftp.setAttrs('/ned', {'mtime': mtime}) File "c:\buildslave\win32-select\W32-full2.4-select\Twisted\twisted\vfs\adapters\sftp.py", line 190, in setAttrs node.setMetadata(attrs) File "c:\buildslave\win32-select\W32-full2.4-select\Twisted\twisted\vfs\backends\osfs.py", line 57, in setMetadata os.utime(self.realPath, (atime, mtime)) exceptions.OSError: [Errno 13] Permission denied: 'twisted.vfs.test.test_sftp\\SFTPAdapterOSFSTest\\test_setAttrs\\ynojwi\\temp\\ned'