Samba cifs mounting

Posting this here not to forget as a useful snippet.

If you don't get write permissions in your samba fs mount, it's because you forgot `gid` in your options.

sudo mount -t cifs //x.x.x.x/sambadirectory /mnt/localdirectory -o username=sambauser,password=sambapass,uid=localuser,gid=localuser

 


Leave us a comment!