Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to edit /etc/fstab to mount a windowsshare permanent
#1
Hello everyone

On my windows10-PC with virtualbox and LinuxLite5.4. I've created a share on windows. Now i try to follow the instruction at this link
https://wiki.ubuntu.com/MountWindowsSharesPermanently. In Linuxlite the entire samba package is installed.
So i've created a mountpoint /media/win_share, a credentials-file /homelinuxlite/.smbcredentials with username, password and domain and edit /ect/fstab.

the entry in /etc/fstab looks like this right now:
Code:
//xxx.xxx.xx.x/win_share /media/win_share cifs credentials=/home/linuxlite/.smbcredentials,noauto,uid=1000,gid=1000,dir_mode=0700,file_mode=1000,iocharset=utf8,sec=ntlm 0 0

a. Does th options have an order? or are they random?

the win_share appears on the desktop but unmounted. when i click on it i got an error massage
Quote:mount: /media/win_share:this operation can be excuted by user root

b. where is my failure ?

ps:I am new to Linux and thank you for your help
Reply


Messages In This Thread
How to edit /etc/fstab to mount a windowsshare permanent - by llmojo - 04-20-2021, 08:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)