mrclksr / linux-browser-installer

Script to install Linux browsers under a Linux chroot on FreeBSD
174 stars 25 forks source link

debootstrap: Permission denied #32

Closed samob closed 2 years ago

samob commented 2 years ago

Hello. Here is the error message I get if I try installing a Brave (or any other) browser on a 13.1-RELEASE:

root@osa:/home/samob/Downloads/linux-browser-installer-main # ./linux-browser-installer install brave
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following packages will be fetched:

New packages to be FETCHED:
    linux-steam-utils: 20220115 (99 KiB: 100.00% of the 99 KiB to download)

Number of packages to be fetched: 1

99 KiB to be downloaded.
Fetching linux-steam-utils-20220115.pkg: 100%   99 KiB 101.2kB/s    00:01    
tar: Removing leading '/' from member names
./linux-browser-installer: debootstrap: Permission denied
linux-browser-installer: Error: debootstrap failed

Same thing happens if I run with "bootstrap" option:

root@osa:/home/samob/Downloads/linux-browser-installer-main # ./linux-browser-installer chroot create 
linux_enable: NO -> NO
ubuntu_enable: YES -> YES
compat.linux.emul_path: /compat/ubuntu -> /compat/ubuntu
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.

No packages are required to be fetched.
Integrity check was successful.
tar: Removing leading '/' from member names
./linux-browser-installer: debootstrap: Permission denied
linux-browser-installer: Error: debootstrap failed
mrclksr commented 2 years ago

Hi @samob,

is /usr/local/sbin/debootstrap executable?

samob commented 2 years ago

It was not. After chmod +x debootstrap, things started to work. Thank you

lispstudent commented 1 year ago

I had the same issue. Could this perhaps be fixed in the script?