[SailfishDevel] RPM validator error
David Llewellyn-Jones
david at flypig.co.uk
Wed Sep 18 20:33:02 UTC 2019
On 18/09/2019 22:35, Marko Koschak wrote:
> I was trying to check the created rpm for my app ownKeepass but it
> failed for a strange reason: "cpio: ./usr/bin/harbour-ownkeepass:
> Cannot open: Permission denied"
>
> I have never seen this before and also a search on the web does not
> reveal anything helpful.
>
> I you want to check yourself you can get a prebuild rpm for my app
> here: https://github.com/jobe-m/ownkeepass/releases
Hi Marko,
When I unpack your rpm, I see that the bin folder has execute
permissions set on it, which prevents access to the contents:
$ ls -l
total 8
drw-r-xr-x 2 flypig flypig 4096 Sep 12 01:20 bin
drwxrwxr-x 5 flypig flypig 4096 Sep 18 23:06 share
$ cd bin/
bash: cd: bin/: Permission denied
It looks like it's being caused by line 41 harbour-ownkeepass.yaml:
- '%attr(655,-,-) %{_bindir}'
I'd suggest removing this line to see if it has any effect.
David
--
Website: http://www.flypig.co.uk
More information about the Devel
mailing list