Welcome to the new Linux Foundation Forum!
[Lubuntu] Monting automatically an network shared folder with fstab
Hi
I have a computer on my network that has Lubuntu 14.04 32 bit with many accounts and a NAS that shares, via Login, its folders with the Samba protocol.
I wish that a network shared folder was mounted automatically when the computer is started so that all users could access it, without Login, in reading, writing and running.
So, what was the proper procedure to do this by configuring appropriately also the file /etc/fstab?
Thanks
Bye
0
Comments
I am guessing your NAS is using some variant of Linux as the OS.
"I have a computer on my network that has Lubuntu 14.04 32 bit with many accounts and a NAS that shares, via Login, its folders with the Samba protocol."
When I read this sentence, it sounded like he had a lubuntu desktop with multiple user accounts on it.
He is also using a NAS that hosts shares using the samba protocol. He did not indicated that the NAS was linux or windows based. I don't hear many windows administrators setting up Samba on a Windows server. I could be wrong.
"I wish that a network shared folder was mounted automatically when the computer is started so that all users could access it, without Login, in reading, writing and running."
This sound like he wants a network shared folder mounted automatically when his Lubuntu system boots. All the user has to do is open it without the need for a password.
I was setting up a Samba share on a LinuxMint 17 system and accessed the share from another LinuxMint 17 system. I was able to access it manually and mount it(not automatic mounting) with the public access option set.
You mentioned mapped as persistent. Is this an option available within Samba's configuration file?
Then, I added, in the /etc/fstab, this line:
Later, I put the force group = sambashare directive in /etc/samba/smb.conf and I restarted the system.
Now, if I write:
I get:
Instead, if I access directly to this resource by PCManFM, I get this error:
This network resource can I use it normally if I access it via the menu Go ---> Network of PCManFM.
How come?
Thanks
Bye
Mounting a windows share permanently
Hope this helps.
Thanks
Bye