2025年

samba で file_set_dosmode 関係のエラーが出る

samba 4 にしてから(一部の)ファイルコピーがうまくいかないと思ったら、smbd が以下のエラーを出している。

smb_set_file_dosmode: file_set_dosmode of ~ failed: Function not implemented

dosmode ? そんなもの要らん!……ということであれば、smb.conf に以下の項目を書けばよい模様。

   store dos attributes = No

で、デフォルトが Yes なんだけど、実装されてない (not implemented) ってどういうこと?