> root:/mnt/tmp#date
> Fri Dec 5 16:32:26 GMT 1997
> root:/mnt/tmp# touch foo
> root:/mnt/tmp# chmod -w foo
> root:/mnt/tmp# cp -a foo bar
> root:/mnt/tmp# chmod +w foo
> root:/mnt/tmp# echo hi >>foo
> root:/mnt/tmp#ls -l
> total 1
> -r-xr-xr-x 1 root root 0 Dec 5 16:28 BAR
> -rwxr-xr-x 1 root root 3 Dec 5 16:32 FOO
> root:/mnt/tmp#date
> Fri Dec 5 16:32:33 GMT 1997
>
> Dec 5 16:32:27 shawc kernel: smb_errno: class ERRDOS, code 50 from
> command 9
> Dec 5 16:32:27 shawc kernel: smb_errno: class ERRDOS, code 50 from
> command 9
> Dec 5 16:32:27 shawc kernel: smb_proc_settime: tmp/bar failed, res=-5,
> rcls=1,
> err=50
> Dec 5 16:32:32 shawc kernel: smb_request_ok: rcls=1, err=18 mapped to 0
>
> So touch is problematic, but the rest works ok.
I have an idea to resolve the failure in smb_proc_settime, so will try
that for the next patch. But I'll wait to hear what Steve says is
happening on his system.
Regards,
Bill