mintreport permission error on /tmp/mintreport/inxi
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 55/100
Direzione di ricerca
The failure is a fixed shared path, /tmp/mintreport/inxi, that stays owned by the first user who ran the tool. Search the Python sources for the /tmp/mintreport string and for where the inxi output is written, and attach mintreport.log to see which call fails. Done means two different users can each run mintreport on the same machine without a permission error, and the attached inxi.txt output still gets generated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have a Mint 22.3 computer with 4 users, set for my family memebers - including me.
Today, I logged in my mom's account (regular user, so not an admin account -if that matters), and ran mintreport from there. All went fine until I relogged to my own account.
Problem: I logged back to my own user account, and when I tried to run mintreport, the GUI launched all fine, but I got a error notification for permission error on /tmp/mintreport/inxi
Cause: So I inspected that file, and to my surprise the parent folder recursively was set as owner for my mom's account. That's weird, because this way the app assumes (?) that the first and only user whoever started this program, should be the owner and period.
Solution: The program should be developed in such fashion that all users can use mintreport regardless who started it first, thus preventing permission denials, and confusing error notifications.
mintreport version: 1.6.1
LANG=C apt policy mintreport
mintreport:
Installed: 1.6.1
Candidate: 1.6.1
Version table:
*** 1.6.1 500
500 https://mirror.alwyzon.net/linuxmint zena/main amd64 Packages
500 https://mirror.alwyzon.net/linuxmint zena/main i386 Packages
100 /var/lib/dpkg/status
inxi.txt
mintreport.log
stat.txt
myid.txt
Until this gets fixed, a temporary workaround is to set the folder back to my own admin account via
sudo chown -R [username]: /tmp/mintreport
- Lingua principale
- Python
- Stelle
- 30
- Fork
- 26
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmint/mintreport
-
Endless loop in "Install multimedia codecs" report when background installation fails silentlyAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
linuxmint/mintreport#137 ·
-
Feature Request: Show desktop notification when kernel bell is triggered by a hardware/driver errorAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
linuxmint/mintreport#135 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
linuxmint/mintreport#134 · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
linuxmint/mintreport#133 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
linuxmint/mintreport#131 ·
Tutte le issue di linuxmint/mintreport
Issue simili
-
Performance: deprecated DeviceEntry.config_entries access blocks the event loop for tens of secondsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
tuya/tuya_cloud_ha_bridge#14 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
semantica-agi/semantica#1968 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
agent: ready area: submission priority: high type: docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
dkritarth/scopewatch#213 ·
I maintainer di solito rispondono entro 1 giorno
-
Broken link in RELEASE.mdForse già presa @Jah-yee l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
sphinx-contrib/httpdomain#143 ·
I maintainer di solito rispondono entro 1 giorno