Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jclulow opened this issue Aug 27, 2024 · 1 comment
Open

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

jclulow opened this issue Aug 27, 2024 · 1 comment

Comments

@jclulow
Copy link
Contributor

jclulow commented Aug 27, 2024

$ 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
Copy link
Member

There is a fix for this in r151050 and later - 9570d8c
Can you confirm the version you're using? If it contains this fix then there might be more work to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants