You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the system caches the MoM file of official repo at /var/tmp/swupd/Manifest.MoM, which is readable to all users.
If it doesn't exist, there's another in /var/lib/swupd/VERSION/Manifest.MoM. But this one, is only readable to root user. Because its /var/lib/swupd is only readable to root user.
For 3rd-party repos, I cannot find a MoM file under readable directory. I do find them at /var/lib/swupd/3rd-party/REPO_NAME/VERSION/Manifest.MoM. But that's no readable.
The main drawback for this is it's difficult to write shell completion for 3rd-party repos. Although this is possible, but I prefer not to ask for root privilege for running a shell completion script.
Please consider to put MoM file for each 3rd-party repo at somewhere like /var/tmp/swupd/3rd-party/REPO_NAME/Manifest.MoM.
The text was updated successfully, but these errors were encountered:
@lebensterben we just merged a change that changes the location where we download the manifests, and this location is world readable (8d54e6c). Would this solve your problem?
BTW, these changes have not been released yet, they will be in the next swupd release.
Currently, the system caches the MoM file of official repo at
/var/tmp/swupd/Manifest.MoM
, which is readable to all users.If it doesn't exist, there's another in
/var/lib/swupd/VERSION/Manifest.MoM
. But this one, is only readable to root user. Because its/var/lib/swupd
is only readable to root user.For 3rd-party repos, I cannot find a MoM file under readable directory. I do find them at
/var/lib/swupd/3rd-party/REPO_NAME/VERSION/Manifest.MoM
. But that's no readable.The main drawback for this is it's difficult to write shell completion for 3rd-party repos. Although this is possible, but I prefer not to ask for root privilege for running a shell completion script.
Please consider to put MoM file for each 3rd-party repo at somewhere like
/var/tmp/swupd/3rd-party/REPO_NAME/Manifest.MoM
.The text was updated successfully, but these errors were encountered: