mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 11:48:24 +00:00
shares: fix mkdir too
This commit is contained in:
1 parent
2cebda3297
commit
ac60a1da46
1 file changed
+1
-1
+1
-1
@@ -659,7 +659,7 @@ class SFTP_Srv(paramiko.SFTPServerInterface):
|
||||
self.log("mkdir(%s)" % (vp,))
|
||||
try:
|
||||
vn, rem = self.asrv.vfs.get(vp, self.uname, False, True)
|
||||
ap = os.path.join(vn.realpath, rem)
|
||||
ap = vn.canonical(rem, False)
|
||||
bos.makedirs(ap, vf=vn.flags) # filezilla expects this
|
||||
if attr is not None:
|
||||
paramiko.SFTPServer.set_file_attr(ap, attr)
|
||||
|
||||
Reference in new issue
Block a user