try if you can change the permission of the file

chmod 0600 /run/media/khg/149E4DD69E4DB0D2/uagrant/.vagrant/machines/
default/virtualbox/private_key
echo $?

if this doesnt work then you way want to use a different filesystem on this
guest



On Wed, Apr 1, 2020 at 4:10 PM Mohit Khulbe <mohitkhulbe16...@gmail.com>
wrote:

> Hi,
> I am using manjaro Linux,
> the file system to the path is 'NTFS'
>
> thanks for asking,
>  what should I do now?
>
> On Wednesday, 1 April 2020 01:53:08 UTC+5:30, Alvaro Miranda Aguilera
> wrote:
>>
>> where are you running vagrant?
>>
>> whats the filesystem on this path /run/media/khg/149E4DD69E4DB0D2/uagrant
>>
>> whats your OS ?
>>
>> vagrant is failing to set the permissions of the private key to 0600
>>
>> of this file
>>
>>
>> /run/media/khg/149E4DD69E4DB0D2/uagrant/.vagrant/machines/default/virtualbox/private_key
>>
>> alvaro
>>
>> On Tue, Mar 31, 2020 at 7:35 PM Mohit Khulbe <mohitkhu...@gmail.com>
>> wrote:
>>
>>> Hi Vagrant community,
>>>
>>> I download the vagrant box ubuntu/bionic64
>>> <https://app.vagrantup.com/ubuntu/boxes/bionic64>
>>> when I run 'vagrant up' this error showed
>>>
>>>> The private key to connect to this box via SSH has invalid permissions
>>>>
>>>> set on it. The permissions of the private key should be set to 0600,
>>>>> otherwise SSH will
>>>>
>>>> ignore the key. Vagrant tried to do this automatically for you but
>>>>> failed. Please set the
>>>>
>>>> permissions on the following file to 0600 and then try running this
>>>>> command again:
>>>>
>>>>
>>>>>
>>>>> /run/media/khg/149E4DD69E4DB0D2/uagrant/.vagrant/machines/default/virtualbox/private_key
>>>>
>>>>
>>>>> Note that this error occurs after Vagrant automatically tries to
>>>>
>>>> do this for you. The likely cause of this error is a lack of filesystem
>>>>
>>>> permissions or even filesystem functionality. For example, if your
>>>>
>>>> Vagrant data is on a USB stick, a common case is that chmod is
>>>>
>>>> not supported. The key will need to be moved to a filesystem that
>>>>
>>>> supports chmod.
>>>>
>>>>
>>>>
>>> need suggestions, to work this issue
>>> thanks
>>>
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>>> IRC: #vagrant on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Vagrant" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to vagra...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/8b6c2a6d-2433-4734-955d-ecf70482846b%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/8b6c2a6d-2433-4734-955d-ecf70482846b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Alvaro
>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/5197f30d-5f48-4c17-b111-fc839416cc52%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/5197f30d-5f48-4c17-b111-fc839416cc52%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyCABbrhH3ahcrGm%2BSO7_WfWAvqA%2B75VHkuHLTmO4y_gw%40mail.gmail.com.

Reply via email to