Question: I downloaded a project to work at home.
I managed to get it up and running, but after two days banging my head against the wall I cannot, for the life of me figure out the following error:

"GET
<http://127.0.0.1:8000/public/site/assets/js/jquery-3.3.1.min.js>
Status
404
Not Found"

This happens on EVERY file in the public folder. The funny thing is, if I go to every asset('/public/site') call in the program and remove only /public, leaving asset('/site'), it works without any problems.

I ASSUME this is because the root folder of the file is /app/public AND the asset() is looking for /public/site, which basically returns a /app/public/public path, even though it doesn't show up in the GET header. Does this make any sense?

I tried forcing the ASSET\_URL to be only '/'. If I do so, the files are apparently found but not loaded, giving the error "the connection used to get this resource was not safe" and returning nothing.
ANY help would be appreciated, I'm losing my mind.

Answer: 
There should be a button next to flagged ambiguous rows (on the right side of the permissions matrix) allowing you to quickly select whether that row is a user or a group. That was the fastest way I found so far
You may fix it in config.xml files directly using GNU sed/find. Go to $JENKINS\_HOME (usually /var/lib/jenkins) and run this command:

```
find config.xml jobs/ -name config.xml -exec sed -i '/USER:\|GROUP:/! s/<permission>/<permission>USER:/' '{}' \;

```

It will change the global config first (the global permissions) and then each of your jobs' config files, making each permission the **USER** type (if it isn't already typed).
Then go to the Manage Jenkins menu and hit the "Reload Configuration from Disk" button (or just stop the jenkins service before running find/sed).