Open oSoMoN opened 2 months ago
And with the user with UID 1000 you can write src/api/config/database.yml
in your git checkout? Can you provide a bit more context on the filesystem setup and permissions?
I just updated my checkout to b185ecc555c2fd0385142ba4dc52b97e49a10e97 and I'm still observing the same issue.
I am able to create and write to src/api/config/database.yml
in my git checkout:
[osomon@localhost ~/src/open-build-service]$ touch src/api/config/database.yml
[osomon@localhost ~/src/open-build-service]$ echo $?
0
[osomon@localhost ~/src/open-build-service]$ echo "foo bar baz" > src/api/config/database.yml
[osomon@localhost ~/src/open-build-service]$ cat src/api/config/database.yml
foo bar baz
[osomon@localhost ~/src/open-build-service]$ ls -la src/api/config/
total 256
drwxr-xr-x 1 osomon users 528 9 sept. 16:36 .
drwxr-xr-x 1 osomon users 590 9 sept. 16:17 ..
-rw-r--r-- 1 osomon users 6796 30 mai 14:14 application.rb
-rw-r--r-- 1 osomon users 128 30 mai 14:14 boot.rb
-rw-r--r-- 1 osomon users 13662 23 juil. 10:29 brakeman.ignore
-rw-r--r-- 1 osomon users 188 30 mai 14:14 cable.yml
-rw-r--r-- 1 osomon users 2449 3 sept. 13:47 clock.rb
-rw-r--r-- 1 osomon users 172024 3 sept. 13:47 crawler-user-agents.json
-rw-r--r-- 1 osomon users 12 9 sept. 16:37 database.yml
-rw-r--r-- 1 osomon users 1042 30 mai 14:14 database.yml.example
-rw-r--r-- 1 osomon users 896 23 juil. 10:29 environment.rb
drwxr-xr-x 1 osomon users 84 23 juil. 10:29 environments
-rw-r--r-- 1 osomon users 148 30 mai 14:14 feature.yml
drwxr-xr-x 1 osomon users 1208 3 sept. 13:47 initializers
drwxr-xr-x 1 osomon users 42 30 mai 14:14 locales
-rw-r--r-- 1 osomon users 8714 30 mai 14:14 options.yml.example
-rw-r--r-- 1 osomon users 1778 30 mai 14:14 puma.rb
drwxr-xr-x 1 osomon users 28 3 sept. 13:47 routes
-rw-r--r-- 1 osomon users 65 30 mai 14:14 routes.rb
-rw-r--r-- 1 osomon users 965 30 mai 14:14 secrets.yml
-rw-r--r-- 1 osomon users 110 30 mai 14:14 spring.rb
-rw-r--r-- 1 osomon users 134 30 mai 14:14 storage.yml
-rw-r--r-- 1 osomon users 630 23 juil. 14:06 thinking_sphinx.yml.example
Some information on my filesystem setup (pretty much used the defaults when installing openSUSE Leap 15.5):
$ mount | grep home
/dev/nvme0n1p2 on /home type btrfs (rw,relatime,ssd,space_cache,subvolid=263,subvol=/@/home)
$ find . ! -uid 1000
(nothing)
$ find . ! -group users
(nothing)
And about docker:
$ docker --version
Docker version 25.0.6-ce, build b08a51fe16ee
Please let me know if I can provide more useful information.
(this looks similar to #15659, but a different path is mentioned)
I'm following the instructions in CONTRIBUTING.md to set up a development environment, and the invokation of
rake docker:build
fails with the following error:This is on openSUSE Leap 15.5, fully up-to-date, docker version 24.0.7-ce installed from the official SLE 15.5 repository.
I verified that my user is in the docker group, my git clone is clean and my uid inside docker containers matches the one on the host.