Public bug reported:

If I run "wajig install [packagename]" then I am prompted for my
administrator password.

If I run "wajig purgeremoved" then I am not prompted for a password. The
following error message is always displayed:

Traceback (most recent call last):
  File "/usr/share/wajig/wajig.py", line 862, in <module>
    main()
  File "/usr/share/wajig/wajig.py", line 858, in main
    result.func(result)
  File "/usr/share/wajig/commands.py", line 679, in purgeremoved
    root=True, log=True)
  File "/usr/share/wajig/perform.py", line 98, in execute
    util.finish_log(temp)
  File "/usr/share/wajig/util.py", line 501, in finish_log
    lf = open(log_file, "a")
PermissionError: [Errno 13] Permission denied: '/home/paul/.wajig/N7110/Log'

I've also seen this in wajig 2.17 on another PC running Xubuntu 15.04

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: wajig 2.14
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
Date: Sun Jan 25 10:58:59 2015
InstallationDate: Installed on 2014-03-09 (322 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140305)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=screen-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: wajig
UpgradeStatus: Upgraded to utopic on 2014-12-13 (42 days ago)

** Affects: wajig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug utopic vivid

** Tags added: vivid

** Description changed:

- If I run "wajig install [packagename] then I am prompted for my
+ If I run "wajig install [packagename]" then I am prompted for my
  administrator password.
  
- If I run wajig purgeremoved I am not prompted for a password. The
- following error message is then displayed:
+ If I run "wajig purgeremoved" then I am not prompted for a password. The
+ following error message is always displayed:
  
  Traceback (most recent call last):
-   File "/usr/share/wajig/wajig.py", line 862, in <module>
-     main()
-   File "/usr/share/wajig/wajig.py", line 858, in main
-     result.func(result)
-   File "/usr/share/wajig/commands.py", line 679, in purgeremoved
-     root=True, log=True)
-   File "/usr/share/wajig/perform.py", line 98, in execute
-     util.finish_log(temp)
-   File "/usr/share/wajig/util.py", line 501, in finish_log
-     lf = open(log_file, "a")
+   File "/usr/share/wajig/wajig.py", line 862, in <module>
+     main()
+   File "/usr/share/wajig/wajig.py", line 858, in main
+     result.func(result)
+   File "/usr/share/wajig/commands.py", line 679, in purgeremoved
+     root=True, log=True)
+   File "/usr/share/wajig/perform.py", line 98, in execute
+     util.finish_log(temp)
+   File "/usr/share/wajig/util.py", line 501, in finish_log
+     lf = open(log_file, "a")
  PermissionError: [Errno 13] Permission denied: '/home/paul/.wajig/N7110/Log'
  
  I've also seen this in wajig 2.17 on another PC running Xubuntu 15.04
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: wajig 2.14
  ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
  Uname: Linux 3.16.0-29-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.1
  Architecture: amd64
  Date: Sun Jan 25 10:58:59 2015
  InstallationDate: Installed on 2014-03-09 (322 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140305)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=en_GB:en
-  TERM=screen-256color
-  PATH=(custom, no user)
-  LANG=en_GB.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_GB:en
+  TERM=screen-256color
+  PATH=(custom, no user)
+  LANG=en_GB.UTF-8
+  SHELL=/bin/bash
  SourcePackage: wajig
  UpgradeStatus: Upgraded to utopic on 2014-12-13 (42 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1414427

Title:
  wajig doesn't always prompt for administrator password

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wajig/+bug/1414427/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to