mirror of
https://github.com/9001/copyparty.git
synced 2025-10-04 10:19:21 +02:00
move symlinks as-is; don't expand into full files
previously, when moving or renaming a symlink to a file (or a folder with symlinks inside), the dedup setting would decide whether those links would be expanded into full files or not with dedup disabled (which is the default), all symlinks would be expanded during a move operation now, the dedup-setting is ignored when files/folders are moved, but it still applies when uploading or copying files/folders * absolute symlinks are moved as-is * relative symlinks are rewritten as necessary, assuming both source and destination is known in db
This commit is contained in:
parent
782084056d
commit
5ab09769e1
2 changed files with 9 additions and 5 deletions
|
@ -1606,7 +1606,8 @@ class AuthSrv(object):
|
|||
if enshare:
|
||||
import sqlite3
|
||||
|
||||
shv = VFS(self.log_func, "", shr, shr, AXS(), {})
|
||||
zsd = {"d2d": True, "tcolor": self.args.tcolor}
|
||||
shv = VFS(self.log_func, "", shr, shr, AXS(), zsd)
|
||||
|
||||
db_path = self.args.shr_db
|
||||
db = sqlite3.connect(db_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue