diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-01-24 21:01:44 +0100 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-01-24 21:01:44 +0100 |
commit | b6b37ba475ef89dadefd00f952a4311101dc2036 (patch) | |
tree | daa81be481427efe26dbb315f472b70c0fce2b28 /sftp-server.c | |
parent | whitespace sync (diff) | |
download | openssh-b6b37ba475ef89dadefd00f952a4311101dc2036.tar.xz openssh-b6b37ba475ef89dadefd00f952a4311101dc2036.zip |
- (stevesk) sftp-server.c: fix chmod() mode mask
Diffstat (limited to '')
-rw-r--r-- | sftp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sftp-server.c b/sftp-server.c index b0a8d0d57..92f158801 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -683,7 +683,7 @@ process_fsetstat(void) #ifdef HAVE_FCHMOD ret = fchmod(fd, a->perm & 0777); #else - ret = chmod(name, a->perm & 077); + ret = chmod(name, a->perm & 0777); #endif if (ret == -1) status = errno_to_portable(errno); |