Changes

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

Example of cfis fstab

903 bytes added, 22 May
The following lines were added (+) and removed (-):
==== fstab example: persistent mounts using exposed credentials ====  //apollo/public/ /mnt/public cifs username=nicolep,password=mythtv,iocharset=utf8,sec=ntlm  0  0  //apollo/public/ /mnt/public cifs username=nicolep,password=yourpass,iocharset=utf8,sec=ntlm  0  0  //apollo/media/ /mnt/media cifs username=nicolep,password=mythtv,iocharset=utf8,sec=ntlm  0  0  //apollo/media/ /mnt/media cifs username=nicolep,password=yourpass,iocharset=utf8,sec=ntlm  0  0  //apollo/video/ /mnt/video cifs username=nicolep,password=mythtv,iocharset=utf8,sec=ntlm  0  0  //apollo/video/ /mnt/video cifs username=nicolep,password=yourpass,iocharset=utf8,sec=ntlm  0  0KERNEL CHANGE BREAKS CIFS.Example with file permission specified and full rw access //apollo/public /mnt/public cifs defaults,dir_mode=0777,file_mode=0777,domain=workgroup,username=nicolep,password=yourpass,uid=1000 ==== troubleshooting: devs keep breaking samba ==== '''KERNEL CHANGE BREAKS CIFS.''''''FAILED TO CLOSE BROKEN PIPE'''Update 2024 Kernel 5.15 Samba 2:4.15.13+dfsg-0ubuntu1.6 - cp: failed to close 'filename': Broken pipeA problem with this latest at the time samba [https://askubuntu.com/questions/1033346/cant-copy-large-files-to-windows-share-error-closing-file-input-output-error/1095334 Can't copy large files to Windows share - Error closing file: Input/output error] issue workaround, specify prior version of cifs on fstab, see example: //apollo/video/ /mnt/video cifs vers=2.0,defaults,domain=workgroup,username=nicolep,password=yourpass,uid=1000