coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting permission for ... Permission denied


From: Peter Johansson
Subject: setting permission for ... Permission denied
Date: Tue, 27 Mar 2012 14:05:03 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120307 Thunderbird/10.0.3

Hello,

I'm not sure if this is a problem with 'install' or with my setup, but when I try to install my package I get the following error message:

...
make[1]: Entering directory `/home/peterJo/projects/software/pipeline'
test -z "/mnt/hpc/local/bin" || /bin/mkdir -p "/mnt/hpc/local/bin"
 /usr/bin/install -c align.sh '/mnt/hpc/local/bin'
/usr/bin/install: setting permissions for `/mnt/hpc/local/bin/align.sh': Permission denied
make[1]: *** [install-binSCRIPTS] Error 1
...

This is with coreutils 8.4:
$ /usr/bin/install --version
install (GNU coreutils) 8.4

'/mnt/hpc' is a Samba share so I first thought that I lacked permission to write their, but that is obviously not the case because the call 'install align.sh /mnt/hpc/local/bin' is successful. FWIW, chmod 755 /mnt/hpc/local/bin/align.sh works as expected without warnings. So what is different between chmod and install's way of setting permission.

Let me know if I can provide anything else of interest.

Thanks,
Peter

p.s. I'm not subscribed, so please cc. d.s.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]