On 02/02/09 00:07, Guillermo wrote:
>
> @John Beckett:
>
> Thanks, that did the trick.
>
> However, there's still one more annoyance... I thought VIM\VIMFILES
> was the right place to put vim files for all users, but if I download
> the ps1 files from vim.org and move them to that location as Admin,
> only the Admin user has access to them.
>
> The rest of the users have access to all the files under VIM
> \VIM72\..., but not to the newly moved ps1 files under VIM\VIMFILES. I
> can't figure out how to grant access to these files to all users of my
> computer (Windows XP Home).
>
> Right now, my ps1 config files are located in my regular user's $HOME
> \VIMFILES.
>
> Regards,
>
> Guillermo

Check your 'runtimepath' option. It is a comma-separated list of 
directories (each of which is the root of a tree); it should normally 
contain the following values (or their equivalents after substituting 
environment variables):

        $HOME/vimfiles
                full-fledged scripts, private to the current user
        $VIM/vimfiles
                system-wide full-fledged scripts
        $VIMRUNTIME
                scripts distributed together with Vim
        $VIM/vimfiles/after
                small system-wide tweaks to any of the above
        $HOME/vimfiles/after
                small user-specific tweaks to any of the above

Each of these trees has the same structure; any particular directory or 
subdirectory doesn't need to exist unless you have something to put in it.

The values of the environment variables are what Vim sets them to at 
startup; they don't need to exist outside Vim. Typical values are 
VIM=C:\Program Files\vim (on Windows) and VIMRUNTIME=$VIM/vim72 (for Vim 
7.2 on any platform). I know my use of / and \ as path separators is not 
very consistent.

If the above seems OK, then it's probably at the OS level rather than at 
Vim level.
I don't know how Windows XP can allow or forbid read access to one user 
over files belonging to a different user. (Write access is not necessary 
in this case). Maybe it's in the Windows registry somewhere, but where? 
Your guess is as good as mine.


Best regards,
Tony.
-- 
We really don't have any enemies.  It's just that some of our best
friends are trying to kill us.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to