-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./install.py --go-completer creates files without write permission #3721
Comments
Those files are written by I suspect this is actually a problem with the upstream module/packaging. |
It's true that some files don't have write permissions, but I don't think YCM can do much about it. |
Agreed. Not sure that we can fix this. Seems an upstream issue. |
Indeed, |
Thanks for taking the time to contribute. The FAQ looks good to me. |
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.the
:YcmToggleLogs
command.version) I am using.
my issue, using
vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what Iexpected to happen and what actually happened.
of
install.py
(orcmake
/make
/ninja
) including its invocationthat any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
During the installation of YCM with go support, it creates files without write permissions. It causes thousands of errors like
rm: cannot remove 'third_party/ycmd/third_party/go/pkg/mod/mvdan.cc/xurls/[email protected]/xurls_test.go': Permission denied
after when I'm trying to clean it up.I expect the files with writes permissions after installation.
It's impossible to clean things without implicit invoking
chmod +w -R
on the YCM path to remove it. Orsudo
works as wellDiagnostic data
Output of
git rev-parse HEAD
in YouCompleteMe installation directoryContents of YCM, ycmd and completion engine logfiles
Clone repo, run the command
OS version, distribution, etc.
Arch linux
5.7.8-arch1-1 #1 SMP PREEMPT Thu, 09 Jul 2020 16:34:01 +0000 x86_64 GNU/Linux
Output of build/install commands
https://gist.github.com/Felixoid/939fcfa45e1697185c1d1354d13917db
The text was updated successfully, but these errors were encountered: