Open charlie-wasp opened 3 years ago
I attempt to reproduce this issue and clone Rails repo files are owned by vagrant
as expected.
At vagrant host, macOS
% ls
MIT-LICENSE README.md Vagrantfile bootstrap.sh
% git clone https://github.com/rails/rails
Cloning into 'rails'...
remote: Enumerating objects: 861795, done.
remote: Counting objects: 100% (937/937), done.
remote: Compressing objects: 100% (560/560), done.
remote: Total 861795 (delta 407), reused 794 (delta 355), pack-reused 860858
Receiving objects: 100% (861795/861795), 263.61 MiB | 9.30 MiB/s, done.
Resolving deltas: 100% (643294/643294), done.
Updating files: 100% (4651/4651), done.
%
At rails-dev-box
vagrant@rails-dev-box:~$
vagrant@rails-dev-box:/vagrant$ git clone https://github.com/rails/rails
Cloning into 'rails'...
remote: Enumerating objects: 861795, done.
remote: Counting objects: 100% (937/937), done.
remote: Compressing objects: 100% (559/559), done.
remote: Total 861795 (delta 407), reused 795 (delta 356), pack-reused 860858
Receiving objects: 100% (861795/861795), 263.61 MiB | 8.97 MiB/s, done.
Resolving deltas: 100% (643293/643293), done.
Updating files: 100% (4651/4651), done.
vagrant@rails-dev-box:/vagrant$ cd rails/
vagrant@rails-dev-box:/vagrant/rails$ ls -l
total 272
drwxr-xr-x 1 vagrant vagrant 576 Jan 28 23:47 actioncable
drwxr-xr-x 1 vagrant vagrant 448 Jan 28 23:47 actionmailbox
drwxr-xr-x 1 vagrant vagrant 320 Jan 28 23:47 actionmailer
drwxr-xr-x 1 vagrant vagrant 320 Jan 28 23:47 actionpack
drwxr-xr-x 1 vagrant vagrant 480 Jan 28 23:47 actiontext
drwxr-xr-x 1 vagrant vagrant 416 Jan 28 23:47 actionview
drwxr-xr-x 1 vagrant vagrant 320 Jan 28 23:47 activejob
drwxr-xr-x 1 vagrant vagrant 320 Jan 28 23:47 activemodel
drwxr-xr-x 1 vagrant vagrant 416 Jan 28 23:47 activerecord
drwxr-xr-x 1 vagrant vagrant 576 Jan 28 23:47 activestorage
drwxr-xr-x 1 vagrant vagrant 352 Jan 28 23:47 activesupport
-rw-r--r-- 1 vagrant vagrant 278 Jan 28 23:47 Brewfile
-rw-r--r-- 1 vagrant vagrant 293 Jan 28 23:47 CODE_OF_CONDUCT.md
-rw-r--r-- 1 vagrant vagrant 3994 Jan 28 23:47 CONTRIBUTING.md
-rw-r--r-- 1 vagrant vagrant 5423 Jan 28 23:47 Gemfile
-rw-r--r-- 1 vagrant vagrant 16886 Jan 28 23:47 Gemfile.lock
drwxr-xr-x 1 vagrant vagrant 384 Jan 28 23:47 guides
-rw-r--r-- 1 vagrant vagrant 1063 Jan 28 23:47 MIT-LICENSE
-rw-r--r-- 1 vagrant vagrant 152 Jan 28 23:47 package.json
-rw-r--r-- 1 vagrant vagrant 1777 Jan 28 23:47 rails.gemspec
-rw-r--r-- 1 vagrant vagrant 12 Jan 28 23:47 RAILS_VERSION
drwxr-xr-x 1 vagrant vagrant 416 Jan 28 23:47 railties
-rw-r--r-- 1 vagrant vagrant 2049 Jan 28 23:47 Rakefile
-rw-r--r-- 1 vagrant vagrant 4798 Jan 28 23:47 README.md
-rw-r--r-- 1 vagrant vagrant 6557 Jan 28 23:47 RELEASING_RAILS.md
drwxr-xr-x 1 vagrant vagrant 128 Jan 28 23:47 tasks
drwxr-xr-x 1 vagrant vagrant 352 Jan 28 23:47 tools
-rw-r--r-- 1 vagrant vagrant 330 Jan 28 23:47 version.rb
-rw-r--r-- 1 vagrant vagrant 192575 Jan 28 23:47 yarn.lock
vagrant@rails-dev-box:/vagrant/rails$
Hi! Just checked out this repo recently and got this issue: after me cloning the
rails
repo, as described inREADME
, I got all files mounted with ownerroot
Is it behaviour expected? I got a lot of failing tests due to various
EACCESS
errors. For example:Am I doing something wrong here? Or am I missing something?