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

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

$
0
0

That's precisely the solution I was referring to in my post above:
You're dealing with two sets of permissions: what is set on the server (windows box) and what the Linux client sees.

CIFS/SMB doesn't do Linux style owner, group, and permissions. The Linux driver fakes them at mount time.

Your mount command doesn't set a local user, group, or permissions so as far as the Pi is concerned everything on the windows box will have an owner of root, a group of root, and, probably, 755 (rwxr-xr-x)permissions. That means only root can write to the server assuming permissions on Windows allow writing at all.
That stack exchange post is not a perfect solution as all it does is change owner and group from root:root to user:user'sgroup. Other client side users will still be unable to write to the share.

I was rather hoping the OP would have read the man page for mount.cifs. I pointed them at. Guess not. You can lead a horse to water but you can't make it drink.
Indeed, your answer was fairly clear (and I obviously did not re-read it this morning, or I would have pointed at it).

It seems that there are a lot of folks showing up in the forums who only accept and operate on explicit responses. IOW a response that tells them to go read some stuff and figure it out for themselves often doesn't fly. Another aspect of the "please google this for me" generation.

[rant]
It's almost like they neither want to learn nor want to think for themselves. Instead they want everything handed to them on a silver platter with exaggerated deference and subservience; and with the person helping them expressing gratitude for being allowed to do so.

And when you do hand it to them on a plate, next time they hit the same problem they'll be back asking exactly the same thing.

Then there are those who ask for help with something but provide absolutely no useful information and are never seen again when asked to do so.

And those who come back with "fixed it" but never share what the fix was. Even when prompted to do so.

And those who never bother to say thank you. Or to provide any feedback at all.

And those who make unreasonable, overly entitled demands.

Those last couple either forget, or simply aren't aware, that we're almost all volunteers on here donating our time, knowledge, experience, and expertise.
[/rant]

Not that the OP is guilty of any of the above though.

Statistics: Posted by thagrol — Tue Dec 31, 2024 5:24 pm



Viewing all articles
Browse latest Browse all 5107

Trending Articles