<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot mount network share to save my life]]></title><description><![CDATA[<p dir="auto">Hello Linux gang! Hopefully this is a quick one and I'll feel like a goober after. I am trying to mount a network share on a new VM. On my first VM, this seemed to work flawlessly. Here is the fstab entry for the working VM:<br />
<code>//192.168.1.186/gilashare /home/marighost/gilashare cifs uid=1000,gid=1000,credentials=/home/marighost/.sharelogin,iocharset=utf8,file_mode=0777,dir_mode=0777,x-systemd.automount,_netdev 0 0</code></p>
<p dir="auto">The permissions for the <code>.sharelogin</code> are <code>chmod</code>'d to be 600.</p>
<p dir="auto">In the <code>.sharelogin</code> itself, I can assure you that my username and password are correct, however, my password <em>does</em> contain a semicolon, if that matters at all (it doesn't seem to for VM 1).</p>
<p dir="auto">I copied these over 1:1 into my new VM, and get the following error:</p>
<p dir="auto"><code>mount: /home/marighost/gilashare: cannot mount //192.168.1.186/gilashare read-only.          dmesg(1) may have more information after failed mount system call.</code></p>
<p dir="auto">So I check <code>dmesg | less</code> and see:</p>
<pre><code class="language-[565649.948728]">[565649.948730] CIFS: enabling forcegid mount option implicitly because gid= option is specified  
[565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare  
[565649.950091] CIFS: VFS: cifs_mount failed w/return code = -13```  

In searching for the solution for that return code (which doesn't really seem to map to a specific error), it seems like it's just "your password's wrong." But I can assure you that it isn't. `.sharelogin` on VM 2 has the same text and permissions as the file in VM 1. The fstab entries are identical. The mount points exist, each VM can see the share server and ping the IP.  

I even tried mounting the share via the standard `mount` command with the following:  
`sudo mount -t cifs //192.168.1.186/gilashare /home/marighost/gilashare -o username=marighost,password=[REDACTED]`  

I mentioned earlier that my password contains a semicolon (;), which seems to effect Bash in ways I don't fully understand. I wrapped my password in the CLI with apostrophes (''), and the command takes, but nothing happens. Checking `dmesg` just shows `[565649.948731] CIFS: Attempting to mount //192.168.1.186/gilashare` with no errors, and the drive still does not mount.  

I thank you for reading and taking the time to respond.</code></pre>
]]></description><link>https://forum.ieu.app/topic/1071b01a-eb99-41f0-b22d-f94727a8d1bc/cannot-mount-network-share-to-save-my-life</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 19:44:43 GMT</lastBuildDate><atom:link href="https://forum.ieu.app/topic/1071b01a-eb99-41f0-b22d-f94727a8d1bc.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Aug 2026 12:31:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot mount network share to save my life on Tue, 18 Aug 2026 13:22:41 GMT]]></title><description><![CDATA[<p dir="auto">Some quick googling points to the possibility of the VM possibility defaulting to the wrong security type. You may need to add a "sec=_____" option to match whatever security type your share is using.</p>
]]></description><link>https://forum.ieu.app/post/https://sh.itjust.works/comment/26959475</link><guid isPermaLink="true">https://forum.ieu.app/post/https://sh.itjust.works/comment/26959475</guid><dc:creator><![CDATA[irateanteater@sh.itjust.works]]></dc:creator><pubDate>Tue, 18 Aug 2026 13:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot mount network share to save my life on Tue, 18 Aug 2026 13:02:37 GMT]]></title><description><![CDATA[<p dir="auto">Changed the password on the share server to remove the semicolon. Rebooted the share server (which is also a VM), and updated the <code>.sharelogin</code> with the updated password. Saved, and just-in-case ran <code>sudo systemctl daemon-reload</code> (despite fstab not changing) and finally <code>sudo mount -a</code>. Same errors as mentioned in the OP, unfortunately.</p>
]]></description><link>https://forum.ieu.app/post/https://piefed.social/comment/12553330</link><guid isPermaLink="true">https://forum.ieu.app/post/https://piefed.social/comment/12553330</guid><dc:creator><![CDATA[marighost@piefed.social]]></dc:creator><pubDate>Tue, 18 Aug 2026 13:02:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot mount network share to save my life on Tue, 18 Aug 2026 12:47:48 GMT]]></title><description><![CDATA[<p dir="auto">The easy first step is to just remove the semicolon from your password to see if that's actually the problem.</p>
]]></description><link>https://forum.ieu.app/post/https://sh.itjust.works/comment/26959023</link><guid isPermaLink="true">https://forum.ieu.app/post/https://sh.itjust.works/comment/26959023</guid><dc:creator><![CDATA[irateanteater@sh.itjust.works]]></dc:creator><pubDate>Tue, 18 Aug 2026 12:47:48 GMT</pubDate></item></channel></rss>