Rahul 写道: > Purely for kicks I tried editing a file with vim that was "write > only". i.e. with mask as -w- > > vim warns me that this is a "read only" file and cannot be edited. > > Just curious if this is a side effect or has other implications. Why > does vim treat "write only" files as "read only"?
In my vim, it gives the "permission denied" for -w------- (200) file. Write-only files has uses for IO devices/CPU ports. write to those files will trigger event and do some hardware operation, while read to those files may be prohibited. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
