Sideqik pod has Incorrect permissions at /srv/gitlab/public/uploads
The /srv/gitlab/public/uploads
directory has invalid permissions and prevents sidekiq from exporting vulnerability reports.
Sidkiq job reports the following error: Errno::EACCES: Permission denied @ dir_s_mkdir - /srv/gitlab/public/uploads/-
[git@gitlab-sidekiq-all-in-1-v2-64bf895465-flqgn public]$ ls -l
total 68
drwxrwxr-x 4 git root 4096 Jun 1 12:56 -
-rw-rw-r-- 1 git root 3207 Jun 1 12:56 404.html
-rw-rw-r-- 1 git root 3035 Jun 1 12:56 422.html
-rw-rw-r-- 1 git root 3049 Jun 1 12:56 500.html
-rw-rw-r-- 1 git root 3039 Jun 1 12:56 502.html
-rw-rw-r-- 1 git root 3029 Jun 1 12:56 503.html
-rw-rw-r-- 1 git root 7455 Jun 1 12:56 apple-touch-icon.png
drwxrwxr-x 29 git root 20480 Jun 1 12:56 assets
-rw-rw-r-- 1 git root 2571 Jun 1 12:56 deploy.html
-rw-rw-r-- 1 git root 2299 Jun 1 12:56 robots.txt
-rw-rw-r-- 1 git root 1528 Jun 1 12:56 slash-command-logo.png
drwx------ 2 root root 4096 Jun 10 05:22 uploads