Thursday, February 18, 2016

Log: linux stuff

To mount windows (samba) share, add the line to the /etc/fstab like this:

//SERVERNAME/path /mnt/network-drive  cifs  nosuid,nodev,noexec,uid=user,gid=users,file_mode=0640,dir_mode=0750,username=BLAH,password=BLAHBLAH,iocharset=utf8  0  0

To prevent the garbling of the filenames, don't put forbidden characters (colon in my case) into the name.

No comments:

Post a Comment

My Blog List