recursive permissions check before renaming/copying directories

This commit is contained in:
Nicola Murino
2020-06-26 23:38:29 +02:00
parent 19fc58dd1f
commit cf541d62ea
17 changed files with 414 additions and 81 deletions

View File

@@ -266,7 +266,7 @@ func GetDirsForSFTPPath(p string) []string {
return dirsForPath
}
// CleanSFTPPath returns a clean sftp path
// CleanSFTPPath returns a cleaned SFTP path
func CleanSFTPPath(p string) string {
sftpPath := filepath.ToSlash(p)
if !path.IsAbs(p) {