Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#44196 - makepkg --source creates .SRC file with permissions of 777 instead of required 755
Attached to Project:
Arch Linux
Opened by Ivan P (Soukyuu) - Sunday, 15 March 2015, 16:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 17:39 GMT
Opened by Ivan P (Soukyuu) - Sunday, 15 March 2015, 16:54 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 17:39 GMT
|
DetailsDescription:
adopted my first AUR package today, so maybe this is supposed to be like this and I am missing a step... If no .SRC file was generated, one is generated by makepkg --source The resulted .tar.gz can not be uploaded to AUR because of: "Error - all files must have permissions of 644 or 755" Upon inspection, the .SRC file has permissions set to 777 instead of 755 Steps to reproduce: 1. run makepkg --source on a package without an existing .SRC 2. attempt to upload to AUR |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 15 March 2015, 17:39 GMT
Reason for closing: Not a bug
Additional comments about closing: User error.
Sunday, 15 March 2015, 17:39 GMT
Reason for closing: Not a bug
Additional comments about closing: User error.
$ ABSROOT=. abs core/systemd
[...]
$ cd core/systemd
$ makepkg --source
$ cat .SRCINFO
cat: .SRCINFO: No such file or directory
$ makepkg --source
[...]
$ bsdtar tvf systemd-218-2.src.tar.gz systemd/.SRCINFO
-rw-r--r-- 0 root root 5369 Mar 15 13:05 systemd/.SRCINFO
I'm doing this in my ~/aur/package/ subdirectory, filesystem is ext4
$ tar xvf deadbeef-git.tar.gz
$ ls -la
total 20
drwxr-xr-x 2 azure azure 4096 Mar 15 18:12 .
drwxr-xr-x 3 azure azure 4096 Mar 15 18:14 ..
-rwxr-xr-x 1 azure azure 192 Oct 22 2010 deadbeef.install
-rwxr-xr-x 1 azure azure 2313 Mar 15 17:34 PKGBUILD
-rw-r--r-- 1 azure azure 2175 Mar 15 18:12 .SRCINFO
This doesn't get accepted by the AUR website, but after doing
$ chmod 755 .SRCINFO
$ ls -la
total 20
drwxr-xr-x 2 azure azure 4096 Mar 15 18:12 .
drwxr-xr-x 3 azure azure 4096 Mar 15 18:14 ..
-rwxr-xr-x 1 azure azure 192 Oct 22 2010 deadbeef.install
-rwxr-xr-x 1 azure azure 2313 Mar 15 17:34 PKGBUILD
-rwxr-xr-x 1 azure azure 2175 Mar 15 18:12 .SRCINFO
$ makepkg --source
it does get accepted by the AUR website uploader.
edit: which is weird I guess, since -rw-r--r-- should be valid (644)?
And I just assumed I had to change all of them to 755, when it should have been 644 for all of them .
Everything works as expected, sorry for wasting your time.