Mageia Bugzilla – Attachment 7218 Details for
Bug 12799
urpmi fails to run via sudo if current directory is on a nfs-share
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
proposed patch: chdir befroe starting urpm::main_loop::run
urpmi.patch (text/plain), 428 bytes, created by
Hartmut Goebel
on 2015-11-19 12:47:20 CET
(
hide
)
Description:
proposed patch: chdir befroe starting urpm::main_loop::run
Filename:
MIME Type:
Creator:
Hartmut Goebel
Created:
2015-11-19 12:47:20 CET
Size:
428 bytes
patch
obsolete
>*** /usr/sbin/urpmi.orig 2015-11-19 12:41:35.930017893 +0100 >--- /usr/sbin/urpmi 2015-11-19 12:40:18.987123861 +0100 >*************** >*** 630,635 **** >--- 630,636 ---- > $force || message_input($p . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17; > } > >+ chdir("/tmp"); > my $exit_code = urpm::main_loop::run($urpm, $state, > int(@names || @src_names || @files || @src_files), > \@ask_unselect, {
*** /usr/sbin/urpmi.orig 2015-11-19 12:41:35.930017893 +0100 --- /usr/sbin/urpmi 2015-11-19 12:40:18.987123861 +0100 *************** *** 630,635 **** --- 630,636 ---- $force || message_input($p . N(" (Y/n) "), boolean => 1) !~ /[$noexpr]/ or exit 17; } + chdir("/tmp"); my $exit_code = urpm::main_loop::run($urpm, $state, int(@names || @src_names || @files || @src_files), \@ask_unselect, {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12799
: 7218