Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Troubleshooting • Re: Mounting a Windows shared folder is ok, but not writing in

$
0
0
Thanks for your help.

It's a Win 10 Pro.

This the result of the command :

Code:

Dec 31 17:06:52 skycam kernel: CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.Dec 31 17:06:52 skycam kernel: CIFS: Attempting to mount //192.168.100.11/skycam$
When I tried accessing the share as a mere mortal (Was sudo -i bc <insert favorite excuse here>) the write failed for me, just as for you.

google coughed up this answer for me: https://unix.stackexchange.com/question ... -and-chown. The first response looked promising.

By adding 'uid=<uid>, gid=<gid>' options (use the `id` command on the Pi to get the proper user/group) along with username and password, I was able to write to the share as an unprivileged user.

Surprised that an 11-year old answer was a winner :o

Statistics: Posted by bls — Tue Dec 31, 2024 3:43 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles