mirror of
https://github.com/9001/copyparty.git
synced 2026-11-27 15:51:13 +00:00
octalize
This commit is contained in:
1 parent
87a5c22a34
commit
3a52096205
1 file changed
+1
-1
+1
-1
@@ -557,7 +557,7 @@ class SFTP_Srv(paramiko.SFTPServerInterface):
|
||||
chmod = vf.get("chmod_f", 0o644)
|
||||
self.log("open(%s, %x): client did not chmod" % (vp, iflag))
|
||||
else:
|
||||
self.log("open(%s, %x): client set chmod %s" % (vp, iflag, chmod))
|
||||
self.log("open(%s, %x): client set chmod 0%o" % (vp, iflag, chmod))
|
||||
|
||||
try:
|
||||
fd = os.open(ap, iflag, chmod)
|
||||
|
||||
Reference in new issue
Block a user