Hi Gary!
On Do, 02 Mär 2017, Gary Johnson wrote:
> On 2017-03-02, Gary Johnson wrote:
>
> > cd ../runtime/doc; if test -z "" -a -f tags; then \
> > mv -f tags tags.dist; fi
> > mv: cannot move ?tags? to ?tags.dist?: Permission denied
>
> I tried the mv command by itself.
>
> $ cd runtime/doc
> $ ll tags
> -rw-r--r-- 1 gary swgroup 317378 Mar 2 15:29 tags
> $ sudo mv -f tags tags.dist
> mv: cannot move ?tags? to ?tags.dist?: Permission denied
> $ mv -f tags tags.dist
>
> So I can execute the mv as myself, but not as the sudo user. As
> this used to work, I wonder if the Vim make has changed or if the
> characteristics of the sudo user on this system have changed.
As what user is sudo running? What is the permission of the runtime/doc
directory and finally, since you already seem to have write access to
the required directory, why run with sudo?
Best,
Christian
--
Immer und überall seinen guten Willen zu bekunden ist ein Zeichen von
Willensschwäche.
-- Rupert Schützbach
--
--
You received this message from the "vim_dev" 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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.