Heyup - likely me being stupid and missing something but help would be greatly appreciated!
ISSUE:
Mounting GDrive successfully to a samba share in Rocky 8.10. When I try and access it via Windows I get a permission denied message. I've added the --allow-other and --default-permissions tags but nothing has worked so far. I've flattened the permissions also.
VERSION:
rclone v1.68.1
os/version: rocky 8.10 (64 bit)
os/kernel: 4.18.0-553.22.1.el8_10.x86_64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.23.1
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
''''
Google Drive
''''
COMMAND:
rclone mount lndrive:/ /mnt/GDRIVEMNT/ --allow-other -vv
CFG:
[lndrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
service_account_file = /home/XXXXX/XXXXXXXX-XXXXX.json
impersonate = XXX
### Double check the config for sensitive info before posting publicly
Log below
2024/10/21 06:54:02 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "mount" "lndrive:/" "/mnt/GDRIVEMNT/" "--allow-other" "-vv"]
2024/10/21 06:54:02 DEBUG : Creating backend with remote "lndrive:/"
2024/10/21 06:54:02 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/10/21 06:54:02 DEBUG : Google drive root '': 'root_folder_id = XXXXXXXXXXX' - save this in the config to speed up startup
2024/10/21 06:54:02 DEBUG : fs cache: renaming cache item "lndrive:/" to be canonical "lndrive:"
2024/10/21 06:54:03 DEBUG : Google drive root '': Mounting on "/mnt/GDRIVEMNT/"
2024/10/21 06:54:03 DEBUG : : Root:
2024/10/21 06:54:03 DEBUG : : >Root: node=/, err=<nil>
#
2024/10/21 06:54:11 DEBUG : /: Attr:
2024/10/21 06:54:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/10/21 06:54:11 DEBUG : : Statfs:
2024/10/21 06:54:12 DEBUG : : >Statfs: stat={Blocks:15728640 Bfree:9153855 Bavail:9153855 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2024/10/21 06:54:13 DEBUG : /: Attr:
2024/10/21 06:54:13 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/10/21 06:54:13 DEBUG : /: Lookup: name="desktop.ini"
2024/10/21 06:54:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/10/21 06:54:13 DEBUG : /: Lookup: name="desktop.ini"
2024/10/21 06:54:13 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/10/21 06:55:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 06:55:33 DEBUG : /: Attr:
2024/10/21 06:55:33 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/10/21 06:55:34 DEBUG : /: Lookup: name="desktop.ini"
2024/10/21 06:55:34 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/10/21 06:55:34 DEBUG : /: Lookup: name="desktop.ini"
2024/10/21 06:55:34 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/10/21 06:55:35 DEBUG : /: Attr:
2024/10/21 06:55:35 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/10/21 06:56:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 06:57:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 06:58:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 06:59:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 07:00:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 07:01:03 DEBUG : Google drive root '': Checking for changes on remote
2024/10/21 07:02:03 DEBUG : Google drive root '': Checking for changes on remote
Notes:
Other command I've tried and still got the permissions error message on windows:
''''
rclone mount lndrive:/ /mnt/GDRIVEMNT/ --allow-other --default-permissions --vfs-cache-mode writes --umask 000
'''''
if you search the forum, i posted an example or two on how to access a samba mount on windows.
as a test, i would setup a samba share using a local path, not /mnt/GDRIVEMNT and mount that on windows.
also, on windows, mount using the command line, sometimes get a more detailed error message.
Hmm well I was trying to access it via UNC path so \\XXX.XXX.XXX.XXX\GDRIVEMNT on windows and I can see the share but when I try and access it I get the permission error
I am trying to access it via windows explorer using a UNC path or drive mount. I can access the SMB share without any issues and mount it without any issues but when I mount the rclone drive to the share I can no longer access it. I don't believe it is an issue with the SMB mount as the issue only occurs when I use the rclone mount on the SMB share.
Here are the results from mounting it without the rclone drive mounted to the SMB share: