Comment 10 for bug 268536

Revision history for this message
Thierry Carrez (ttx) wrote :

A few notes:
* CIFS does not have fmask/dmask options (that's for -t fat). It uses file_mode and dir_mode. Try those to see if you get better results
* file_mode and dir_mode are only used if CIFS does not negociate CIFS Unix extensions with the server. So if it still returns drwxrwxrwx and -rwxrwSrwx things, my guess is that the Samba 2.2.8a on the server does send weird file modes. SMBFS didn't support negociating those extensions so ended up using the default umask ?