mintreport permission error on /tmp/mintreport/inxi
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 30
- Fork
- 26
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/mintreport
-
update of minireportĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 22/100
linuxmint/mintreport#141 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
linuxmint/mintreport#140 ·
-
Endless loop in "Install multimedia codecs" report when background installation fails silentlyĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
linuxmint/mintreport#137 ·
-
Feature Request: Show desktop notification when kernel bell is triggered by a hardware/driver errorĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
linuxmint/mintreport#135 ·
-
Option to boot into bios/eufiĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
linuxmint/mintreport#134 · 1 reaction ·
Tất cả issue của linuxmint/mintreport
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Deltares/imod-python#1940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
effort: low prio: low ready
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
digitalfabrik/integreat-cms#4621 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
ioos/compliance-checker#1375 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
netbox status: backlog topic: testing type: housekeeping
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
netbox-community/netbox#23395 ·
Maintainer thường phản hồi trong vòng 1 ngày