diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-07-11 10:12:09 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-07-11 10:12:09 +1200 |
commit | dd578023cdd9535c21797caed3dc689017e47cd8 (patch) | |
tree | ba4857581a9175978f1c59078f8ffa1c250864f9 | |
parent | e848286988a0b4deababc269f0d232243960285a (diff) | |
download | obnam-dd578023cdd9535c21797caed3dc689017e47cd8.tar.gz |
Fix SftpFS.chmod to call sftp.chmod, not sftp.chown. Oops.
-rw-r--r-- | obnamlib/plugins/sftp_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py index f9eaaf89..f7110942 100644 --- a/obnamlib/plugins/sftp_plugin.py +++ b/obnamlib/plugins/sftp_plugin.py @@ -188,7 +188,7 @@ class SftpFS(obnamlib.VirtualFileSystem): self.sftp.chown(pathname, uid, gid) def chmod(self, pathname, mode): - self.sftp.chown(pathname, mode) + self.sftp.chmod(pathname, mode) def lutimes(self, pathname, atime, mtime): # FIXME: This does not work for symlinks! |