newoski Posted December 1, 2018 Share Posted December 1, 2018 Hi Guys, I followed spaceinvader's tutorial on rclone and I got everything setup. I can see my disks/google and /disks/secure remotes via Krusader and Midnight Commander, but I was wondering if it's possible to actually export them as a Samba share that would be visible in Windows? Thanks so much for any help! Quote Link to comment
newoski Posted December 1, 2018 Author Share Posted December 1, 2018 Here's what I'm currently using in my Mount script: mkdir -p /mnt/disks/google mkdir -p /mnt/disks/secure #This section mounts the various cloud storage into the folders that were created above. rclone mount --max-read-ahead 1024k --allow-other google: /mnt/disks/google & rclone mount --max-read-ahead 1024k --allow-other secure: /mnt/disks/secure & Quote Link to comment
Squid Posted December 1, 2018 Share Posted December 1, 2018 11 minutes ago, newoski said: export them as a Samba share that would be visible in Windows? Add something like [GOOGLE] path=/mnt/disks/google valid users = whomever write list = whomever to /boot/config/smb-extra.conf Quote Link to comment
newoski Posted December 1, 2018 Author Share Posted December 1, 2018 What would standard usage be, there? I'm not sure what users to assign -- I don't use much beyond root Quote Link to comment
newoski Posted December 1, 2018 Author Share Posted December 1, 2018 Tried adding the following: [GOOGLE] path=/mnt/disks/google valid users = root [SECURE] path=/mnt/disks/secure valid users = root Ended up with errors in my logs: Script Starting Fri, 30 Nov 2018 15:39:52 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt Script Finished Fri, 30 Nov 2018 15:39:52 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt Script Starting Sat, 01 Dec 2018 15:00:26 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 16: [GOOGLE]: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 18: valid: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 19: [SECURE]: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 21: valid: command not found Script Finished Sat, 01 Dec 2018 15:00:26 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt 2018/12/01 15:00:26 Fatal error: Directory is not empty: /mnt/disks/google If you want to mount it anyway use: --allow-non-empty option 2018/12/01 15:00:27 Fatal error: Directory is not empty: /mnt/disks/secure If you want to mount it anyway use: --allow-non-empty option Script Starting Sat, 01 Dec 2018 15:00:46 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 16: [GOOGLE]: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 18: valid: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 19: [SECURE]: command not found /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 21: valid: command not found Script Finished Sat, 01 Dec 2018 15:00:46 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount_plugin/log.txt 2018/12/01 15:00:46 Fatal error: Directory is not empty: /mnt/disks/google If you want to mount it anyway use: --allow-non-empty option 2018/12/01 15:00:47 Fatal error: Directory is not empty: /mnt/disks/secure If you want to mount it anyway use: --allow-non-empty option Quote Link to comment
Squid Posted December 1, 2018 Share Posted December 1, 2018 6 minutes ago, Squid said: to /boot/config/smb-extra.conf And not sure if root would work (probably not). I'd set up your valid users there (of which root definitely is not one). Otherwise, you can google on samba options for setting it up as public Quote Link to comment
newoski Posted December 1, 2018 Author Share Posted December 1, 2018 28 minutes ago, Squid said: And not sure if root would work (probably not). I'd set up your valid users there (of which root definitely is not one). Otherwise, you can google on samba options for setting it up as public So the recommended way to interact with it is truly via rclone, both two and from the remote, or via MC/Krusader? Quote Link to comment
Squid Posted December 1, 2018 Share Posted December 1, 2018 1 minute ago, newoski said: So the recommended way to interact with it is truly via rclone, both two and from the remote, or via MC/Krusader? Not saying that, and I don't use rclone. Simply answered your question about how to make the folder available over SMB, which was to make the mods to the smb-extra.conf file Quote Link to comment
newoski Posted December 1, 2018 Author Share Posted December 1, 2018 Just now, Squid said: Not saying that, and I don't use rclone. Simply answered your question about how to make the folder available over SMB, which was to make the mods to the smb-extra.conf file OK, thanks again. Appreciate your help! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.