Skip to content

install: arch - yay build may failed due to not finding or permissions of files in cache #3565

@AndreasBrostrom

Description

@AndreasBrostrom

Upgrading packaged on arch using yay (to build google-chrome as example) may fail due to missing permissions to folder or not being able to find files in there it self.

Test case:

#!/bin/sh
export projRoot=$HOME/TestError/
export projDest=$HOME/TestError/dest/

mkdir -p $projRoot/
mkdir -p $projRoot/src/
mkdir -p $projRoot/dest/

cd $projRoot

touch test.sh
ln -fs /opt/FakeDestination "$projDest"test.sh # Fake destination

# Permissions 
chmod +x test.sh

cd $projRoot/src/
ln -sf $projRoot/test.sh test.sh

install "$projRoot"test.sh "$projDest"test.sh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions