What is the problem you are having with rclone?
Mounting a remote FTP on a folder on linux. The permission should be dr-xr-xr-x. But mode=drwxr-xr-x. The permission is dr-xr-xr-x when I use Xftp to Mounting a remote FTP .
Any clues?
Run the command 'rclone version' and share the full output of the command.
rclone-webdav version
rclone v1.65.0-DEV
- os/version: debian 12 (bookworm) (64 bit)
- os/kernel: 6.1.27 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.0
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone-webdav mount \
--contimeout 10s \
--timeout 12h \
--dir-cache-time 0 \
--poll-interval 0 \
--low-level-retries 2 \
--expect-continue-timeout 15s \
--daemon \
--daemon-wait 30s \
--daemon-timeout 180s \
--local-no-sparse \
--ftp-close-timeout 30s \
--multi-thread-streams 0 \
--vfs-cache-mode off \
--vfs-read-chunk-size 0 \
--vfs-read-chunk-size-limit 0 \
--allow-other \
--default-permissions \
--syslog \
--log-level DEBUG \
--devname 'ftp:/' \
--config '/tmp/ftp3454369570' \
ftp: /mnt/@remote/ftp/ftp:uid=1026,host=172.17.21.186,port=21,url=ftp
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[ftp]
type = ftp
host = 172.17.21.186
user = commontest
pass = aQDpAwbVJUSFYj0mB76TyPw6JjE_bwEp
port = 21
concurrency = 0
no_check_certificate = true
A log from the command that you were trying to run with the -vv
flag
2024-10-28T15:38:53.725194+08:00 DXP4800-6582 rclone-webdav[1720450]: rclone: Version "v1.65.0-DEV" starting with parameters ["rclone-webdav" "mount" "--contimeout" "10s" "--timeout" "12h" "--dir-cache-time" "0" "--poll-interval" "0" "--low-level-retries" "2" "--expect-continue-timeout" "15s" "--daemon" "--daemon-wait" "30s" "--daemon-timeout" "180s" "--local-no-sparse" "--ftp-close-timeout" "30s" "--multi-thread-streams" "0" "--vfs-cache-mode" "off" "--vfs-read-chunk-size" "0" "--vfs-read-chunk-size-limit" "0" "--allow-other" "--default-permissions" "--syslog" "--log-level" "DEBUG" "--devname" "ftp:/" "--config" "/tmp/ftp3454369570" "ftp:" "/mnt/@remote/ftp/ftp:uid=1026,host=172.17.21.186,port=21,url=ftp"]
2024-10-28T15:38:53.725861+08:00 DXP4800-6582 rclone-webdav[1720450]: Creating backend with remote "ftp:"
2024-10-28T15:38:53.725918+08:00 DXP4800-6582 rclone-webdav[1720450]: Using config file from "/tmp/ftp3454369570"
2024-10-28T15:38:53.725955+08:00 DXP4800-6582 rclone-webdav[1720450]: ftp: detected overridden config - adding "{osa1U}" suffix to name
2024-10-28T15:38:53.726007+08:00 DXP4800-6582 rclone-webdav[1720450]: ftp://172.17.21.186:21: Connecting to FTP server
2024-10-28T15:38:53.726046+08:00 DXP4800-6582 rclone-webdav[1720450]: ftp://172.17.21.186:21: dial("tcp","172.17.21.186:21")
2024-10-28T15:38:53.726081+08:00 DXP4800-6582 rclone-webdav[1720450]: ftp://172.17.21.186:21: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024-10-28T15:38:53.832387+08:00 DXP4800-6582 rclone-webdav[1720450]: fs cache: renaming cache item "ftp:" to be canonical "ftp{osa1U}:"
2024-10-28T15:38:53.935739+08:00 DXP4800-6582 rclone-webdav[1720459]: rclone: Version "v1.65.0-DEV" starting with parameters ["/usr/sbin/rclone-webdav" "mount" "--contimeout" "10s" "--timeout" "12h" "--dir-cache-time" "0" "--poll-interval" "0" "--low-level-retries" "2" "--expect-continue-timeout" "15s" "--daemon" "--daemon-wait" "30s" "--daemon-timeout" "180s" "--local-no-sparse" "--ftp-close-timeout" "30s" "--multi-thread-streams" "0" "--vfs-cache-mode" "off" "--vfs-read-chunk-size" "0" "--vfs-read-chunk-size-limit" "0" "--allow-other" "--default-permissions" "--syslog" "--log-level" "DEBUG" "--devname" "ftp:/" "--config" "/tmp/ftp3454369570" "ftp:" "/mnt/@remote/ftp/ftp:uid=1026,host=172.17.21.186,port=21,url=ftp"]
2024-10-28T15:38:53.936167+08:00 DXP4800-6582 rclone-webdav[1720459]: Creating backend with remote "ftp:"
2024-10-28T15:38:53.936255+08:00 DXP4800-6582 rclone-webdav[1720459]: Using config file from "/tmp/ftp3454369570"
2024-10-28T15:38:53.936305+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp: detected overridden config - adding "{osa1U}" suffix to name
2024-10-28T15:38:53.936439+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: Connecting to FTP server
2024-10-28T15:38:53.936488+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: dial("tcp","172.17.21.186:21")
2024-10-28T15:38:53.937044+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024-10-28T15:38:54.051169+08:00 DXP4800-6582 rclone-webdav[1720459]: fs cache: renaming cache item "ftp:" to be canonical "ftp{osa1U}:"
2024-10-28T15:38:54.065354+08:00 DXP4800-6582 rclone-webdav[1720459]: : forgetting directory cache
2024-10-28T15:38:54.065496+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: Mounting on "/mnt/@remote/ftp/ftp:uid=1026,host=172.17.21.186,port=21,url=ftp"
2024-10-28T15:38:54.081460+08:00 DXP4800-6582 rclone-webdav[1720459]: : Root:
2024-10-28T15:38:54.081591+08:00 DXP4800-6582 rclone-webdav[1720459]: : >Root: node=/, err=<nil>
2024-10-28T15:38:54.136502+08:00 DXP4800-6582 rclone-webdav[1720450]: rclone: Version "v1.65.0-DEV" finishing with parameters ["/usr/sbin/rclone-webdav" "mount" "--contimeout" "10s" "--timeout" "12h" "--dir-cache-time" "0" "--poll-interval" "0" "--low-level-retries" "2" "--expect-continue-timeout" "15s" "--daemon" "--daemon-wait" "30s" "--daemon-timeout" "180s" "--local-no-sparse" "--ftp-close-timeout" "30s" "--multi-thread-streams" "0" "--vfs-cache-mode" "off" "--vfs-read-chunk-size" "0" "--vfs-read-chunk-size-limit" "0" "--allow-other" "--default-permissions" "--syslog" "--log-level" "DEBUG" "--devname" "ftp:/" "--config" "/tmp/ftp3454369570" "ftp:" "/mnt/@remote/ftp/ftp:uid=1026,host=172.17.21.186,port=21,url=ftp"]
2024-10-28T15:38:54.194178+08:00 DXP4800-6582 rclone-webdav[1720459]: /: Attr:
2024-10-28T15:38:54.194352+08:00 DXP4800-6582 rclone-webdav[1720459]: /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024-10-28T15:38:54.194453+08:00 DXP4800-6582 rclone-webdav[1720459]: : Statfs:
2024-10-28T15:38:54.194530+08:00 DXP4800-6582 rclone-webdav[1720459]: : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2024-10-28T15:38:54.232393+08:00 DXP4800-6582 rclone-webdav[1720459]: : Statfs:
2024-10-28T15:38:54.232527+08:00 DXP4800-6582 rclone-webdav[1720459]: : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2024-10-28T15:39:03.177723+08:00 DXP4800-6582 rclone-webdav[1720459]: /: Attr:
2024-10-28T15:39:03.178338+08:00 DXP4800-6582 rclone-webdav[1720459]: /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024-10-28T15:39:19.550862+08:00 DXP4800-6582 rclone-webdav[1720459]: /: Attr:
2024-10-28T15:39:19.551346+08:00 DXP4800-6582 rclone-webdav[1720459]: /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024-10-28T15:39:21.294904+08:00 DXP4800-6582 rclone-webdav[1720459]: /: Attr:
2024-10-28T15:39:21.295209+08:00 DXP4800-6582 rclone-webdav[1720459]: /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024-10-28T15:39:21.295344+08:00 DXP4800-6582 rclone-webdav[1720459]: /: ReadDirAll:
2024-10-28T15:39:21.311610+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: dial("tcp","172.17.21.186:41821")
2024-10-28T15:39:21.312056+08:00 DXP4800-6582 rclone-webdav[1720459]: ftp://172.17.21.186:21: > dial: conn=*fshttp.timeoutConn, err=<nil>
2024-10-28T15:39:21.312932+08:00 DXP4800-6582 rclone-webdav[1720459]: /: >ReadDirAll: item=7, err=<nil>