wibrt
(Wibrt)
December 29, 2021, 4:28pm
1
What is the problem you are having with rclone?
When i use
$rclone mount
i don't see the hidden directories and files
in the file system,
nor can i access them, even though i know the name
for example
$ls hidden
will give file or dir does not exist
(the same for ls -a)
while
$rclone ls remote:/hidden
while show the files under hidden that are not hidden
(hidden in this sense means, having the hidden attribute on probably a windows? ntfs? file system)
Any suggestions what i could try?
What is your rclone version (output from rclone version
)
rclone v1.53.3-DEV
os/arch: linux/amd64
go version: go1.15.9
Which cloud storage system are you using?
Webdav (hcwebdav) (no more info available)
jwink3101
(Justin Winokur)
December 29, 2021, 4:42pm
2
Is there a reason you deleted the help template? The debug logs would have been useful to see what is going on with specific files.
Can you make a basic example that shows the issues?
Either way, before doing anything , upgrade to the latest. You are super, super behind.
Anyway, hidden files are very different between OSes. I think Windows sets an attribute. macOS and linux use the .
notation (e.g. .hidden
). And macOS also supports it via extended attributes.
AFAIK, rclone + FUSE doesn't support any other attributes so really only the dot-version works.
And testing on my computer, dot-files work exactly as expted.
wibrt
(Wibrt)
January 17, 2022, 12:37pm
3
Thank you for the feedback
The hidden objects have the attribute hidden on NTFS, the remote drive is NTFS with webdav
works:
$ rclone lsl remote:dir/hidden/ -vv
2022/01/17 13:23:13 DEBUG : rclone: Version "v1.53.3-DEV" starting with parameters ["rclone" "lsl" "remote:dir/hidden/" "-vv"]
2022/01/17 13:23:13 DEBUG : Using config file from "/home/wim/.config/rclone/rclone.conf"
2022/01/17 13:23:13 DEBUG : Creating backend with remote "remote:dir/hidden/"
2022/01/17 13:23:13 DEBUG : fs cache: renaming cache item "remote:dir/hidden/" to be canonical "remote:dir/hidden"
.. fileA .. fileB ..
does not work:
$ rclone mount --daemon --vfs-cache-mode writes remote:/htcomnet/hcwebdav/Home/ remote/ -vv
2022/01/17 13:26:46 DEBUG : rclone: Version "v1.53.3-DEV" starting with parameters ["rclone" "mount" "--daemon" "--vfs-cache-mode" "writes" "remote:/htcomnet/hcwebdav/Home/" "remote/" "-vv"]
2022/01/17 13:26:46 DEBUG : Creating backend with remote "remote:/htcomnet/hcwebdav/Home/"
2022/01/17 13:26:46 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2022/01/17 13:26:46 DEBUG : fs cache: renaming cache item "remote:/htcomnet/hcwebdav/Home/" to be canonical "remote:htcomnet/hcwebdav/Home"
2022/01/17 13:26:46 DEBUG : rclone: Version "v1.53.3-DEV" finishing with parameters ["rclone" "mount" "--daemon" "--vfs-cache-mode" "writes" "remote:/htcomnet/hcwebdav/Home/" "remote/" "-vv"]
.. in the mounted rclone dir under remote, using bash
$ ls -a hidden
ls: no access to 'hidden': file or directory does not exist
while it does, as shown above, this directory and files do exist
without running rclone as a daemon (the effect of ls -a hidden):
2022/01/17 13:34:34 DEBUG : remote/: Attr:
2022/01/17 13:34:34 DEBUG : remote/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2022/01/17 13:34:37 DEBUG : remote/: Attr:
2022/01/17 13:34:37 DEBUG : remote/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2022/01/17 13:34:37 DEBUG : remote/: Lookup: name="hidden"
2022/01/17 13:34:37 DEBUG : remote/: >Lookup: node=<nil>, err=no such file or directory
2022/01/17 13:34:37 DEBUG : remote/: Lookup: name="hidden"
2022/01/17 13:34:37 DEBUG : remote/: >Lookup: node=<nil>, err=no such file or directory
system
(system)
Closed
February 16, 2022, 12:37pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.