On a local filesystem: ln -s / link1 mv link1 foobar succeeds. On a CIFS mount the mv fails with : mv: cannot move `link1' to `foobar': Permission denied. Something I decided to test based on bug 8663. Jeremy.
Created attachment 7198 [details] git-am fix for 3.5.next Fix for unix extensions call of SMBmv.
Created attachment 7201 [details] git-am fix for 3.6.next
Is there a chance to get the review done until Thursday? Thanks, Karolin
Comment on attachment 7201 [details] git-am fix for 3.6.next I really, really hate all these lp_posix special cases, as they probably make us much more vulnerable to attacks, but if it is a necessary evil, so be it. Probably at some point we should just go the same way we did with SMB2: Just write a completely separate implementation of smbd when unix extensions are active.
Re-assigning to Karolin for inclusion in 3.6.next and 3.5.next (Volker gave a + review). Jeremy.
Pushed to both branches. Closing out bug report. Thanks!