-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Apart from VIM's internal commands , try with standard UNIX umask command if possible.
And should VIM add this as a feature (e.g internal command like pwd) ? On 08/12/2010 12:29 PM, John wrote: > Hi all, > > I'm using Vim 7.2.411 on Windows XP (from the Cream web site), to edit > files hosted on a linux server. I have the linux directory as a > Windows mapped network drive (via samba). > > If via the linux box, I set the permissions on a file to 775, I can > edit and save the file in Notepad and Wordpad, through the mapped > network drive, and the permissions are retained. But if I do the same > editing in Vim, saving the file reverts its permissions to 644. > > I'm getting sick of typing 'chmod 775'... and I'd rather not use .*pad > - any tips? > > Thank you, > John > - -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4R0NL3WI5 on freenode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxmEcgACgkQvf41sEptMqBnOACgi1aIZpbXMhWJ/TTLbyKaSzhx RoQAnR+Ft2IFv91l7z6GDvHAJFlvkP54 =dIic -----END PGP SIGNATURE----- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
