I have prepared two conflicting patches and believe that applying any of them will work around your bug (which is really in the CIFS server). Please use your own judgement to pick one of the patches. My own preference would be: [PATCH] Remove redundant check of directory permissions ...but this is rather risky from the security standpoint, so any additional audit would be appreciated. -- Alexander E. Patrakov