Permission denied when attempting to build xow

Old directories should be removed on a clean build, and I’m pretty sure the pkg directory is cleaned each time anyway.

I think the only time the pkg directory has those permissions is at the very beginning of the package() stage and the directory is first created - as soon as packaging begins then the directory permissions change to be more normal.

The fact it doesn’t work with makepkg either probably points towards a local configuration issue, e.g. something in a dotfile (e.g. .bashrc) or in your makepkg.conf (e.g. have you merged your pacnew recently?).

1 Like

Good to know.

Seems like this is what’s causing it. Switching chell from zsh to bash and running paru -S xow-git installed it without a problem, and it runs without libusb errors as well. Fantastic!

Now I’m quite curious what I could possibly have in my .zshrc to cause this. Any ideas?

########## EXPORTS ##########
export ZSH="$HOME/.oh-my-zsh"
export PATH="$HOME/.bin/:$PATH" 
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/wtwitch:$PATH"
export WEATHER_CLI_API="aa6a852219d8b91fffa57605a3288120"

########## ZSH ##########
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh

########## ALIASES ##########

# SWAY
alias display="swaymsg -t get_outputs"

# NAVIGATION
alias c="clear"
alias x="exit"
alias b="../"
alias dl="cd ~/Downloads"
alias nbin="cd ~/DOTFILES/.bin/ && nvim"
alias dot="cd ~/DOTFILES"
alias cfg="cd ~/.config/"

# GIT 
alias gc="git clone"
alias gp="git push"
alias gp="git pull"
alias ga="gid add"
alias gcm="git commit -m"
alias gcsway="git clone https://gitlab.com/Anchorage/Sway"
alias gcbsp="git clone https://gitlab.com/Anchorage/bspwm"

# SYS
## euw1.chat.si.riotgames.com
alias lol="sudo sysctl -w abi.vsyscall32=0"
alias blol="sudo ufw deny out to 172.65.252.238"
alias lsblkinfo="lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL"
alias birth="stat / | awk '/Birth: /{print $2}'"

# NVIM
alias bspwmrc="nvim ~/DOTFILES/.config/bspwm/bspwmrc"
alias sxhkdrc="nvim ~/DOTFILES/.config/sxhkd/sxhkdrc"
alias zshrc="nvim ~/DOTFILES/.zshrc"
alias pb="nvim ~/DOTFILES/.config/polybar/config"
alias pbc="nvim ~/DOTFILES/.config/polybar/colors"
alias swc="nvim ~/DOTFILES/.config/sway/config"


# APPLICATIONS
alias mct="mconnectctl share-text /org/mconnect/device/0"
alias mcu="mconnectctl share-url /org/mconnect/device/0"
alias mcf="mconnectctl share-file /org/mconnect/device/0"
alias foo="killall dunst;notify-send foo"
alias mdl="megadl --path /mnt/D1/TM/completed/"
alias ytdl="youtube-dl -o /mnt/D1/TM/completed/%(title)s-%(id)s.%(ext)s"
alias wc="wtwitch c"
alias ww="wtwitch w"
alias tl="task list"
alias ta="task add"
alias td="task done"
alias snapc="sudo snapper -c root create --description"
alias weather="wfetch --place="redacted, Sweden""

# ARCH
alias xi="paru -S"
alias xq="paru"
alias xu="paru -Syu"
alias xr="paru -Rns"

# VOID
#alias xi="sudo xbps-install"
#alias xr="sudo xbps-remove -Ro"
#alias xu="sudo xbps-install -Su && sudo update-grub"
#alias xq="xbps-query"
#alias xs="xbps-query -Rs"
#alias xss="ls ~/.local/VUR/srcpkgs | fzf"
#alias xsi="~/.local/VUR/./xbps-src -E pkg"
#alias xin="sudo xbps-install --repository hostdir/binpkgs"
#alias xuu="cd ~/.local/VUR/ && ./xbps-src bootstrap-update"
#alias po="loginctl poweroff"
#alias rb="loginctl reboot"
#alias xdb="xdeb -Sde"

# OTHER
alias ipinfo="~/DOTFILES/.bin/ipinfo"

# CUTEFETCH
# fetch $(printf 'kitty\nbunny' | shuf -n 1) $(shuf -i 1-13 -n 1)

# STARSHIP
eval "$(starship init zsh)"

I’m running ZSH+OMZ, so maybe try without Starship?

Commented Starship, now it works. How odd.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.