Skip to main content
Topic: Error: chmod: changing permissions of '/Downloads/libxc/src': (Read 240 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Error: chmod: changing permissions of '/Downloads/libxc/src':

How solve this errror
Code: [Select]
makepkg -si PKGBUILD 
==> Making package: libxc 6.1.0-1 (Wed 18 Jan 2023 03:02:37 PM WIB)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
chmod: changing permissions of '/Downloads/libxc/src': Operation not permitted

when try install libxc from source package having PKGBUILD ?

Sincere help is really expected

Re: Error: chmod: changing permissions of '/Downloads/libxc/src':

Reply #1
Code: [Select]
chmod: changing permissions of '/Downloads/libxc/src': Operation not permitted
If the directory in question is not in your user's home folder then one has to enable your user account's ownership.
In the example shown, it would be:
User name = mardiyah (or whatever your user name is)
User group = users (or whatever user group wanted)
Code: [Select]
# chown -R mardiyah:users /Downloads

You may want to change the path in your "/etc/makepkg.conf" file to place the built files into one location.
Code: [Select]
# vim /etc/makepkg.conf
<snipped>
PKGDEST=<input the path to the files>
<snipped>
Please check "man makepkg.conf" for more information or ARch's makepkg wiki page.
Configuring makepkg.conf is important.


 

Re: Error: chmod: changing permissions of '/Downloads/libxc/src':

Reply #2
Yup, solved after get to dir:

Code: [Select]
sudo chown -R mardiyah .