I have followed this guide in order to share my windows server files with my ubuntu 20.04 box.

It seems to have worked, as long as i am using the sudo command when making any changes to files or creating/deleting

if i attempt anything such as mkdir without sudo then i get permission denied

when the windows share is not mounted, the permissions for /mnt/winshare are drwxrwxrwx 2 user user

However, when i mount the windows share, they become drwxr-xr-x 2 root root

what am i missing?


So i found the answer here. I did not do enough digging/google fu was weak!

  • Sorry, I didn't get that you had a samba share, not a physical mount. I deleted my answer, because it is not valid for a cifs mount. – Maybe you should've made that point clearer. – kanehekili May 30 '20 at 16:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.