forked from josch/mmdebstrap
Compare commits
No commits in common. "5d8943b7396d5e82abc91066788775adb480a58f" and "e4e10b670cfd4ee11d9401c020f4d8fbcc03c57a" have entirely different histories.
5d8943b739
...
e4e10b670c
2 changed files with 13 additions and 19 deletions
|
@ -1,8 +1,3 @@
|
|||
0.8.2 (2021-12-14)
|
||||
------------------
|
||||
|
||||
- use apt patterns to select priority variants (requires apt >= 2.3.10)
|
||||
|
||||
0.8.1 (2021-10-07)
|
||||
------------------
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
our $VERSION = '0.8.2';
|
||||
our $VERSION = '0.8.1';
|
||||
|
||||
use English;
|
||||
use Getopt::Long;
|
||||
|
@ -5201,10 +5201,9 @@ sub main() {
|
|||
# in unshare and root mode, other users than the current user need to
|
||||
# access the rootfs, most prominently, the _apt user. Thus, make the
|
||||
# temporary directory world readable.
|
||||
if (
|
||||
any { $_ eq $options->{mode} } ('unshare', 'root')
|
||||
or ($EFFECTIVE_USER_ID == 0 and $options->{mode} eq 'chrootless')
|
||||
) {
|
||||
if (any { $_ eq $options->{mode} } ('unshare', 'root')
|
||||
or
|
||||
($EFFECTIVE_USER_ID == 0 and $options->{mode} eq 'chrootless')) {
|
||||
chmod 0755, $options->{root} or error "cannot chmod root: $!";
|
||||
}
|
||||
} elsif ($format eq 'directory') {
|
||||
|
|
Loading…
Reference in a new issue