Bug 28759 - running isodumper returns nothing
Summary: running isodumper returns nothing
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-10 19:53 CEST by peter lawford
Modified: 2021-04-10 23:28 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
/home/alain4/.isodumper/isodumper2.log (3.41 KB, application/octet-stream)
2021-04-10 19:54 CEST, peter lawford
Details

Description peter lawford 2021-04-10 19:53:47 CEST
Description of problem:

[alain4@mag6 ~]$ rpm -q isodumper
isodumper-1.33-1.mga8
[alain4@mag6 ~]$ isodumper
Traceback (most recent call last):
  File "/usr/bin/isodumper", line 24, in <module>
    app = isodumper.IsoDumper()
  File "/usr/lib/python3.8/site-packages/isodumper/isodumper.py", line 610, in __init__
    logging.basicConfig(filename=os.path.join(logpath,"isodumper2.log"),
  File "/usr/lib64/python3.8/logging/__init__.py", line 1984, in basicConfig
    h = FileHandler(filename, mode)
  File "/usr/lib64/python3.8/logging/__init__.py", line 1143, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib64/python3.8/logging/__init__.py", line 1172, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/home/alain4/.isodumper/isodumper2.log'
Version-Release number of selected component (if applicable):
 attached: /home/alain4/.isodumper/isodumper2.log'

I've uninstall and reinstall isodumper: nothing changes

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 peter lawford 2021-04-10 19:54:58 CEST
Created attachment 12612 [details]
/home/alain4/.isodumper/isodumper2.log
Comment 2 Aurelien Oudelet 2021-04-10 20:14:43 CEST
This is because your .isodumper folder is not owned by your user.
Remove it as root.

CC: (none) => ouaurelien

Comment 3 Dave Hodgins 2021-04-10 21:17:16 CEST
Just to clarify on comment 2, most likely isodumper was previously run after
using just su to become root instead of "su -".
https://wiki.mageia.org/en/Never_use_just_su

As per that article, to fix it use ...
su -
chown -Rc alain4:alain4 /home/alain4

CC: (none) => davidwhodgins

Comment 4 peter lawford 2021-04-10 22:51:27 CEST
OK! it was stupide, sorry and thanks
Comment 5 Aurelien Oudelet 2021-04-10 23:03:51 CEST
(In reply to peter lawford from comment #4)
> OK! it was stupide, sorry and thanks

So this is fixed ? ;)

Closing.
Feel free to reopen if not fixed.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 6 peter lawford 2021-04-10 23:28:26 CEST
(In reply to Aurelien Oudelet from comment #5)
> (In reply to peter lawford from comment #4)
> > OK! it was stupide, sorry and thanks
> 
> So this is fixed ? ;)
> 
> Closing.
> Feel free to reopen if not fixed.

it is fixed!

Note You need to log in before you can comment on or make changes to this bug.