From 789b34d0a0c11a9332a40d87d80cf168ddcc2680 Mon Sep 17 00:00:00 2001 From: Anne Nicolas Date: Fri, 27 Dec 2013 23:53:53 +0100 Subject: fix mkdir to enable proper permissions on urpmq directory --- BCD/Media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BCD') diff --git a/BCD/Media.pm b/BCD/Media.pm index 333bac8..dfbc5f1 100644 --- a/BCD/Media.pm +++ b/BCD/Media.pm @@ -425,7 +425,7 @@ sub create_list { # my $list_filename_update = "$isoconf->{tocopy_file}_todo_$media->{name}_update"; my $list = "$chroot_path/urpmq/$list_filename"; my $list_update = "$chroot_path/urpmq/$list_filename" . "_update"; - system("sudo chroot $chroot_path mkdir -m 777 -p urpmq"); + system("mkdir -m 777 -p $chroot_path/urpmq"); # urpmq error file my $urpmq_error = "$chroot_path/$isoconf->{tocopy_file}_urpmi_error_$media->{name}"; my $urpmq_error_update = "$chroot_path/$isoconf->{tocopy_file}_urpmi_error_update_$media->{name}"; -- cgit v1.2.1