Vim on Cygwin removes write permission when writing file not owned by current user on Samba share
With set backupcopy=auto Vim on Cygwin 1.7 removes write permission when writing a file not owned by the current user on a Samba share. I realize that this can be a Cygwin (1.7) problem, so I’m mainly asking whether anyone else has stumbled upon this problem. The Samba share has ACL support turned on and gets its user information from an Active Directory. Files with a mode of 0770 (which is what all files on the share have) get a mode of 0750 after Vim has written the file. File ownership is retained, but, after the first write, further writing won’t be possible. Setting force security mode = 0770 in smb.conf solves the problem, but that’s a suboptimal solution. So if anyone has stumbled upon this problem, please, please help me. I’m losing my mind over this. --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: Vim on Cygwin removes write permission when writing file not owned by current user on Samba share
On Wed, Sep 23, 2009 at 11:02 AM, Nikolai Weibull wrote: With set backupcopy=auto Vim on Cygwin 1.7 removes write permission when writing a file not owned by the current user on a Samba share. I realize that this can be a Cygwin (1.7) problem, so I’m mainly asking whether anyone else has stumbled upon this problem. I'd try reproducing it with a native windows build, and then taking it to the cygwin list if it doesn't reproduce. Especially given that security on shared drives has historically required a lot of little tweaks in Cygwin every time a new corner case is found... ~Matt --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---
Re: Vim on Cygwin removes write permission when writing file not owned by current user on Samba share
On Wed, Sep 23, 2009 at 17:32, Matt Wozniski m...@drexel.edu wrote: On Wed, Sep 23, 2009 at 11:02 AM, Nikolai Weibull wrote: Vim on Cygwin 1.7 removes write permission when writing a file not owned by the current user on a Samba share. I realize that this can be a Cygwin (1.7) problem, so I’m mainly asking whether anyone else has stumbled upon this problem. I'd try reproducing it with a native windows build, and then taking it to the cygwin list if it doesn't reproduce. Especially given that security on shared drives has historically required a lot of little tweaks in Cygwin every time a new corner case is found... It doesn’t happen with the Native Windows build. Why I decided to ask here first is mentioned above. --~--~-~--~~~---~--~~ You received this message from the vim_dev maillist. For more information, visit http://www.vim.org/maillist.php -~--~~~~--~~--~--~---