On 2009-04-28, Warren Swan wrote:
> gvim complains if the executable (vim) has the setuid bit on. I found out
> the hard way. I thought maybe making it setuid to root would work, albeit
> making all new files belong to root!
> Since we're talking about a temporary file made within vim/gvim itself,
> the file comes and goes. There's no way to check its permissions.
Sure there is. Here's one way. Attempt to do some filtering
operation so that vim will create a temporary directory in /tmp.
Execute "ls -ltr /tmp" to find the name of that directory--it will
be last one in the list. Then filter some text through the command
ls -l /tmp/<tempdir>
where <tempdir> is the directory you found above.
That works for me to show the temporary files and their permissions,
but then I don't see the errors you're seeing.
HTH,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---