[Feature Request] Raise warning if build directory is not owned by USER
I had a user (A), which I deleted; I then made a new user (B) with the same name as user A. However, the user-manager never deleted the pamac AUR build directory of user A. The folder which was used for storing build files was, therefore, not owned by the new user B, and it led to a permission error whenever I would use it as user B.
Solution
Provide information about ownership issues while parsing through pamac.conf
or when errors are raised.
The variable for my case was aur_build_dir
, and it is stored as BuildDirectory
.