# Unable to access contents using a windows computer of a network shared rclone mounted Google drive stored on a Raspberry Pi

**URL:** <https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791>\
**Category:** Help and Support\
**Created:** [April 29, 2024, 8:07pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791 "2024-04-29T20:07:52Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 8:07pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/1 "2024-04-29T20:07:52Z")

</div>

**STOP and READ**  **USE THIS TEMPLATE**  **NO EXCEPTIONS** - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

#### What is the problem you are having with rclone?

Using a windows computer I am attempting to access the contents of a network shared rclone mounted Google drive I have stored on a raspberry pi 3 but I have been unsuccessful. I have turned on a Samba share for the Google Drive folder.

According to my search it seems others have been successful in achieving this but I have not had the same luck.

[Rclone and Samba - Help and Support - rclone forum](https://forum.rclone.org/t/rclone-and-samba/22635)

I am trying to see if there is a rclone command with specific flags I can type into the raspberry pi terminal to get everything working.

The following steps I have taken so far are:

1. Updated raspberry pi OS to latest release of Raspbian GNU/Linux 10 (buster) using commands  
sudo apt update  
sudo apt full-upgrade

2. Installed rclone

3. Created credentials and successfully mounted a Google drive

I have attached a screen shot of the successfully mounted google drive as seen using the Raspberry Pi. The name I gave the mount is GoogleDrive. I believe it is located under $HOME/mnt on the Raspberry Pi

 ![1](https://forum.rclone.org/uploads/default/original/3X/b/e/be578e39a21521cd4794755f153c072bcf82b538.png)

1. Enabled Samba network folder sharing of folder that contains the mounted Google drive sharing

I also have webmin installed on the Raspberry Pi if I need to use it for more complicated Samba share settings

I cannot view the contents of the share mnt folder when trying to access from a windows computer

However, I am able to access other shared folders on the Raspberry Pi using a windows computer, so I know the Samba share is working.

1. I tried running the following command to see if the files would show up when accessing using Windows computer but this has not worked either.

```auto
rclone mount GoogleDrive: /home/pi/mnt/GoogleDrive --vfs-cache-mode writes --daemon --allow-other --allow-root

```

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.66.0

- os/version: raspbian 10.13
- os/kernel: 5.10.103-v7+ (armv7l)
- os/type: linux
- os/arch: arm (ARMv7 compatible)
- go/version: go1.22.1
- go/linking: static
- go/tags: none

#### Which cloud storage system are you using? (eg Google Drive)

Google Drive

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone mount GoogleDrive: /home/pi/mnt/GoogleDrive --vfs-cache-mode writes --daemon --allow-other --allow-root

```

#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

```auto
[GoogleDrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
### Double check the config for sensitive info before posting publicly

```

#### A log from the command that you were trying to run with the `-vv` flag

```auto

2024/04/29 20:49:27 ERROR : Daemon timed out. Failed to terminate daemon pid 1510: os: process already finished
2024/04/29 20:49:27 Fatal error: daemon exited with error code 1

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 8:19pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/2 "2024-04-29T20:19:09Z")

</div>

welcome to the forum,

i have shared rclone mountpoints over samba.  
it should work for you.  
so need more basic info...

> [@Geo](#):
>
> `Daemon timed out`

for testing, try running rclone without `--daemon`  
use a debug log file  
`--log-level=DEBUG --log-file=/path/to/rclone.log`

can you share the samba section for the net share from smb.conf ?

i used to use webmin, as in [https://forum.rclone.org/t/solved-is-it-possible-to-access-my-rclone-mount-as-a-samba-share/18335/14?u=asdffdsa](https://forum.rclone.org/t/solved-is-it-possible-to-access-my-rclone-mount-as-a-samba-share/18335/14)  
but now, i just edit smb.conf

on windows, how are you creating the net share.  
using windows explorer, net share on cmd, or what?  
what is the exact error you are getting?

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 8:51pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/3 "2024-04-29T20:51:53Z")

</div>

Hi and thank you for you reply. Here are some replies for you questions

**can you share the samba section for the net share from smb.conf ?**

```auto
[PiShare]
 comment=Raspberry Pi Share
 path=/home/pi/Music
 browseable=Yes
 writeable=Yes
 only guest=no
 create mask=0777
 directory mask=0777
 public=no

[GoogleDrive Share]
        sync always = yes
        path = /mnt
        writeable = yes

```

**on windows, how are you creating the net share.**  
**using windows explorer, net share on cmd, or what?**  
**what is the exact error you are getting?**

I am just using Windows Explorer.

I have attached a screenshot. As you can see, I cannot view the contents of the share mnt folder when trying to access from a windows computer

 ![2](https://forum.rclone.org/uploads/default/original/3X/5/0/5081696e2dbc0d243bd6c0ab57a43e7dfe09e446.png)

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 9:00pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/4 "2024-04-29T21:00:42Z")

</div>

> [@Geo](#):
>
> As you can see

the samba share is mounted, that is correct?

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 9:05pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/5 "2024-04-29T21:05:45Z")

</div>

Yes the samba share is mounted. The raspberry pi has rclone, and I used rclone to mount the google drive. then I enabled samba sharing on that mount so that different windows computers can try to access the mount on that raspberry pi over the network.

As a side note, I am able to access other shared folders on the Raspberry Pi over my network using the windows explorer windows computer.  
 ![3](https://forum.rclone.org/uploads/default/original/3X/a/6/a6aeef215a23224ee00daff9f066939254f23ead.png)

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 9:10pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/6 "2024-04-29T21:10:16Z")

</div>

> [@Geo](#):
>
> Yes the samba share is mounted. The raspberry pi has rclone, and I used rclone to mount the google drive. then I enabled samba sharing on that mount so that different windows computers can try to access the mount on that raspberry pi over the network.

great. everything seems to be working fine, no errors.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 9:22pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/7 "2024-04-29T21:22:20Z")

</div>

the rclone mountpoint is `/home/pi/mnt/GoogleDrive`  
so you need samba to share that exact dir

something like

```auto
[sharename]
path=/home/pi/mnt/GoogleDrive

```

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 9:40pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/8 "2024-04-29T21:40:03Z")

</div>

Hi. Ok I tried what you suggested and updated the following to the smb.conf

```auto
[GoogleDrive Share]
        sync always = yes
        path = /home/pi/mnt/GoogleDrive
        writeable = yes

```

I tried accessing the share using windows explorer but now I get the following message  
 ![image](https://forum.rclone.org/uploads/default/original/3X/4/9/495e5d9dbdbc4699398b70e20adbd35b1bfe8b5d.png)

I am not sure what to do now.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 9:56pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/9 "2024-04-29T21:56:19Z")

</div>

> [@Geo](#):
>
> Hi. Ok I tried what you suggested and updated the following to the smb.conf

ok, good.

> [@Geo](#):
>
> following message

need to click details and post that including the error number.

> [@Geo](#):
>
> I am not sure what to do now.

not sure.

imho, fwiw, as a long-time windowz user trying to work on linux, i learned the hard way.  
never use space characters for names and/or paths, always use one case, lower or upper.  
so, could change `[GoogleDrive Share]` to `[google_drive]`

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 10:13pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/10 "2024-04-29T22:13:21Z")

</div>

Yeah thanks for the tip. I have zero experience with Linux haha. Just trying my best to inform myself.

I changed the name as you suggested and still got same error. But now clicked to get details and got error code 0x80070035  
 ![image](https://forum.rclone.org/uploads/default/original/3X/d/b/db2dacff9853585964c4aa71c38365fbc5f71f54.png)

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 10:16pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/11 "2024-04-29T22:16:40Z")

</div>

I'm going to have to figure out what causes that code.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 10:17pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/12 "2024-04-29T22:17:12Z")

</div>

most likely, windows cannot find the server or else the share.  
try using ipaddress instead.

have you seen my howto?  
[https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754/2](https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754/2)

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 29, 2024, 10:41pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/13 "2024-04-29T22:41:56Z")

</div>

I tried the following  
 ![image](https://forum.rclone.org/uploads/default/original/3X/c/c/ccb2c8e93a4f6dc7e8fb27f6f998180ecea093c5.png)

Still no success.

I think I ran into your guide while researching my problem. I will try to follow it. Maybe I might add a new mount of the google drive but rename it to all lower  
case letters (googledrive instead of GoogleDrive).

Thanks for all the suggestions you have given so far.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 29, 2024, 10:53pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/14 "2024-04-29T22:53:25Z")

</div>

good, seems that `net use` worked.  
it found the server, it found the share.

> [@Geo](#):
>
> However, I am able to access other shared folders

try `net use` on one of those shared folders.  
will ensure the username and password are correct.

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 30, 2024, 1:52am UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/15 "2024-04-30T01:52:11Z")

</div>

I did. The usename and password works for the other shared folders the raspberry pi.  
 ![image](https://forum.rclone.org/uploads/default/original/3X/e/7/e7a22c758db3ef8085041c34cc1964ca547c24f6.png)

I tried remaking a new mount called gdrive instead of GoogleDrive and tried a Samba share over the network. That didn't work as well unfortunately. Still get the same error.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [April 30, 2024, 1:24pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/16 "2024-04-30T13:24:37Z")

</div>

can you post the top thirty lines from the rclone debug log.

this is an working samba config.

```auto
[zork]
    path = /rclone/mount/zork
    valid users = @agent_en10
    writable = yes

```

this is the rclone command  
`sudo -u user01 -g agent_en10 rclone mount ....`

this is the `net use` command, running over tailscale.

```auto
net use \\100.73.41.101\zork /user:agent_en10 redacted
The command completed successfully.

```

---

<div class="post-metadata">

**Author:** ![Geo](https://forum.rclone.org/user_avatar/forum.rclone.org/geo/32/17862_2.png) [@Geo](https://forum.rclone.org/u/Geo)\
**Post date:** [April 30, 2024, 5:26pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/17 "2024-04-30T17:26:00Z")

</div>

I finally got it to work!

![image](https://forum.rclone.org/uploads/default/original/3X/9/4/94e5c8de1a419359ab84d71646313a8ea1ed8ffb.png)

So what I did so far was correct. The missing part of the solution was spelled out in the following forum thread:

[_Solved_ Is it possible to access my Rclone mount as a Samba share? - Help and Support - rclone forum](https://forum.rclone.org/t/solved-is-it-possible-to-access-my-rclone-mount-as-a-samba-share/18335/3)

When I mounted the drive, I had to add the flag --allow-other

So the mount command I used is

```auto
rclone mount gdrive: $HOME/mnt/gdrive --allow-other

```

When I initially tried the command with the --allow-other flag it gave me an error stating the flag has to be in the fuse.conf file as well.

So I had to add `user_allow_other` to the `fuse.conf` file in Raspbian OS. I had google Gemini give me instructions on how to do that.

I also tried to add the flag --allow-root to the mount command but I got an error stating it is not permitted anymore.

Thanks for all your help asdffdsa! I really appreciate it!

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [May 1, 2024, 12:45pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/18 "2024-05-01T12:45:30Z")

</div>

> [@Geo](#):
>
> Thanks for all your help asdffdsa! I really appreciate it!

good that all is working now.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [May 4, 2024, 12:46pm UTC](https://forum.rclone.org/t/unable-to-access-contents-using-a-windows-computer-of-a-network-shared-rclone-mounted-google-drive-stored-on-a-raspberry-pi/45791/19 "2024-05-04T12:46:22Z")

</div>

Closed on May 4, 2024, 12:46pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
