omniosorg / pkg5

Image Packaging System
https://omnios.org/
Other
11 stars 55 forks source link

"pkgsend publish" complains about permissions when it shouldn't #494

Open jclulow opened 2 weeks ago

jclulow commented 2 weeks ago
$ pkgsend publish -s repo omicron-release-incorporation.p5m
pkgsend: file protocol error: code: E_TFTP_ILLEGAL (71) reason: The following catalog files have incorrect permissions:
        /staff/rel/v10/repo/publisher/helios/catalog/catalog.attrs: expected mode: 644, found mode: 664

Repository URL: 'file:///staff/rel/v10/repo'.

The directory actually has a non-trivial NFSv4 ACL:

$ ls -lVd /staff/rel/v10/repo
drwxrwxr-x+  3 jclulow  staff          4 Aug 27 00:01 /staff/rel/v10/repo
            group:staff:rwxpdDaARWcCos:fd-----:allow
                 owner@:rwxp-DaARWcCos:-------:allow
                 group@:r-x---a-R-c--s:-------:allow
              everyone@:r-x---a-R-c--s:-------:allow
citrus-it commented 2 weeks ago

There is a fix for this in r151050 and later - https://github.com/omniosorg/pkg5/commit/9570d8c90bbd1c5dc51ebe9a45a75f6c4f0e2a59 Can you confirm the version you're using? If it contains this fix then there might be more work to do.