Hi!
I was following a tuto to mount a Windows folder share.
Mounting is ok, I can see the content, open TXT file and read the content.
I use this command :
sudo mount -t cifs -o user=smb,password=MyPassword //192.168.1.15/smb-folder$ /mnt/samba-asus/
the user smb + MyPassword are a valid user on the Windows PC.
The share setting is only for this user.
The security on this folder is FULL RIGHTS to every one (to test).
But I can't create or modify any file or folder.
Please, do you have any idea?
Thank you.
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.
See the output from
Code:
man mount.cifs
Statistics: Posted by thagrol — Sun Dec 29, 2024 6:58 pm