Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

mintreport permission error on /tmp/mintreport/inxi

Aperta
#139 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, python
Ambito
tooling

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/mintreport

Tutte le issue di linuxmint/mintreport

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.