====== How to workaround the DFS samba bug on the DNS323 NAS ? ====== Firstly, here is a quick bug description: It's impossible to modify any existing files. The "Not a directory" or "No such file or directory" or "touch: setting times of..." errors occurs when trying to modify a file. If your linux ''cifs'' or ''smbfs'' client support the ''nodfs'' flag (integrated in kernels > 2.6.27). You just have to add this option to the mount command. Example: mount -t cifs -o credentials=/home/kerphi/.smb-zekra-credentials,iocharset=utf8,file_mode=0777,dir_mode=0777,nodfs //zekra/Volume_1 /home/kerphi/zekra If you cannot upgrade your kernel (like me because i'm following the debian releases), you have to follow this workaround: * Connect to the DNS323 using the web GUI and goto tools->system. * Save the configuration to your workstation (in "CONFIGURATION SETTINGS" section). * After saving edit the file and just under this line: ;[ global ] add the following line: msdfs root = no * Then upload this file through the web interface, your NAS will reboot and you will be able to modify existing file again ! Many thanks to [[https://bugs.launchpad.net/ubuntu/+source/samba/+bug/286828/comments/62|Skokie]] and to [[https://bugs.launchpad.net/ubuntu/+source/samba/+bug/286828|the Ubuntu community]] for having found this workaround. {{tag>article computing dns232 samba bug}} ~~DISCUSSION~~