rclone-webui-angular icon indicating copy to clipboard operation
rclone-webui-angular copied to clipboard

No access to files after mounting

Open LIHAQ opened this issue 1 year ago • 4 comments

Use webui to mount, and after completion, it prompts me that I do not have permission to access The log is as follows: 2025/01/10 01:29:18 ERROR : quark/test.txt: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 图片 图片 图片 Finally, it was re mounted once and the following requests were modified in order to access normally 图片

LIHAQ avatar Jan 09 '25 17:01 LIHAQ

Thanks for decribing your issue. But I can't reproduce this error on my end. Could you please check if your rclone version is latest one? (check by command rclone version)

If you are willing to help, could you check the debug info of rclone by running rclone with additional attribute -vv and do the mounting as usual and share the log with me. It should contains this line image

yuudi avatar Jan 13 '25 17:01 yuudi

Thanks for decribing your issue. But I can't reproduce this error on my end. Could you please check if your rclone version is latest one? (check by command rclone version)

If you are willing to help, could you check the debug info of rclone by running rclone with additional attribute -vv and do the mounting as usual and share the log with me. It should contains this line image

version information 图片

2025/01/14 10:40:27 DEBUG : rc: "mount/mount": with parameters map[fs:webdav: mountOpt:map[noModTime:false readonly:false windowsNetworkMode:false] mountPoint:Z: vfsOpt:map[dirPerms:511 filePerms:438 vfsCacheMaxAge:1h vfsCacheMode:full]] 2025/01/14 10:40:27 INFO : webdav root '': poll-interval is not supported by this remote 2025/01/14 10:40:27 NOTICE: webdav root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/01/14 10:40:27 DEBUG : Network mode mounting is disabled 2025/01/14 10:40:27 DEBUG : Mounting on "Z:" ("webdav") 2025/01/14 10:40:27 DEBUG : webdav root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=webdav"] 2025/01/14 10:40:27 DEBUG : webdav root '': Init: 2025/01/14 10:40:27 DEBUG : webdav root '': >Init: 2025/01/14 10:40:27 DEBUG : /: Statfs: 2025/01/14 10:40:27 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0 2025/01/14 10:40:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF 2025/01/14 10:40:27 DEBUG : /: >Getattr: errc=0 2025/01/14 10:40:27 DEBUG : /: Readlink: 2025/01/14 10:40:27 ERROR : symlinks not supported without the --links flag: / 2025/01/14 10:40:27 DEBUG : /: >Readlink: errc=-40, linkPath="" 2025/01/14 10:40:27 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00" 2025/01/14 10:40:27 DEBUG : /: >Getxattr: errc=-40, value="" The service rclone has been started.

LIHAQ avatar Jan 14 '25 02:01 LIHAQ

Thanks for shareing the logs. I am still not sure where the issue is from. I notice you were mounting a webdav drive and the error message in your first post was from the webdav, am I right?

The log you shared shows the vfsCacheMode is set to full, which means rclone accepted the requrest correctly. And the error message shows vfsCacheMode is not set to writes or higher, which confuse me.

Could you try to use rclone command line to mount the drive to see if the writng works? The command should be rclone mount alist: Z: --vfs-cache-mode writes

Another thing I notice is you are using windows-386 build of rclone, does it mean you are using an old PC which has an old version of windows? This might be a reason.

yuudi avatar Jan 14 '25 17:01 yuudi

Thanks for shareing the logs. I am still not sure where the issue is from. I notice you were mounting a webdav drive and the error message in your first post was from the webdav, am I right?

The log you shared shows the vfsCacheMode is set to full, which means rclone accepted the requrest correctly. And the error message shows vfsCacheMode is not set to writes or higher, which confuse me.

Could you try to use rclone command line to mount the drive to see if the writng works? The command should be rclone mount alist: Z: --vfs-cache-mode writes

Another thing I notice is you are using windows-386 build of rclone, does it mean you are using an old PC which has an old version of windows? This might be a reason.

That's right, when I mounted webdav, I chose vfsCacheMode and selected full, but it would prompt 'vfsCacheModeis not set towritesor higher. I also changed the version of rclone, but the problem still exists. I used thealist: Z: -- vfs cache mode writescommand, which is normal I can only use it by changing the"vfsCacheMode": "write"in the request to"CacheMode": "wirtes"`

LIHAQ avatar Jan 15 '25 06:01 LIHAQ