automount smb share customization
Posted
by
Douda
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Douda
Published on 2012-12-18T21:01:14Z
Indexed on
2012/12/18
23:13 UTC
Read the original article
Hit count: 258
as a new linux user, used Ubuntu 12.10, I tried several tweaks with the SMB shares. I followed this tutorial to mount permanently 4 SMB shares from my local NAS.
To resume, I :
- edit /etc/fstab
added a line like :
//servername/sharename /media/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
created a credentials file for security reasons in my home folder (explained in the tutorial)
~/.smbcredentials
It work perfectly, they are automounted on each reboot, but when I logon, I all the time get 4 file explorer open with each share.
It is possible to avoid these file explorer window to be opened on every reboot ? I guess it's related to X or via a explicit deny or these graphical mount, but I don't have any clues on how to proceed
Thank you for your time,
© Ask Ubuntu or respective owner