0

When I am sharing some folder from some of my mounted device, let's say usb pendrive, with the guest access option, the other network linux PC when accessing that folder says: Failed to mount Windows share: Permission denied

Sharing folder from the hdd with guest setting is not a problem.

I am quite new to linux so I guess it could be quite a obvious issue and solution, however I could not find a answer quickly "googling"

1 Answer 1

0

Edit /etc/samba/smb.conf and add a line under workgroup = WORKGROUP :

force user = kjahsdf

Replace kjahsdf with your Ubuntu login user name.

Then restart smbd:

sudo service smbd restart

Reason: Cannot access shared floder on ubuntu from windows 10 meanwhile I have access to default Public folder

1
  • Shouldn't that be somehow by default? Should we suggest it to the samba devs? Anyway it worked. Thank you Morbius1 Oct 23, 2019 at 2:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .