Accessing a Win10 share from Linux Mint

  • Thread starter Thread starter Pleng
  • Start date Start date
  • Views Views 1,248
  • Replies Replies 1

Pleng

Custom Title
Member
Joined
Sep 14, 2011
Messages
2,508
Reaction score
1,732
Trophies
2
XP
3,206
Country
Thailand
I guess here is as good a forum as anywhere to ask this question.

I have a Win10 host machine. This hosts 2 separate VMs - a Win7 and a Linux Mint VM.
The Linux Mint VM is relatively new; I am migrating from an Kubuntu set-up which broke itself so badly that I gave up hope of ever being able to rectify it. One thing that did work just fine, though, was mounting Samba shares. Not so with my new Mint install.

I can browse the network and mount via Nemo, however when trying to mount by command line, I get the following error:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The command line I'm issuing (in a root terminal) is this:

mount -t cifs //[ipaddress]/OneDrive -o username=mint,password=[password] /home/pleng/Cloud/OneDrive

I have set up a user "mint" on the Win10 server, and am able use these credentials when mounting via nemo, but the command line just doesn't like it.
 
...never mind. I managed to get it working from /etc/fstab:

//[ipaddress]/OneDrive /home/pleng/Shares/Cloud/OneDrive cifs username=mint,password=[passwprd],uid=1000,iocharset=utf8 0 0
 

Site & Scene News

Popular threads in this forum