Bug 273586 - sysutils/fuse-ext2: the default_permissions and allow_other options cannot be disabled.
Summary: sysutils/fuse-ext2: the default_permissions and allow_other options cannot be...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-05 21:40 UTC by Alan Somers
Modified: 2023-09-06 06:40 UTC (History)
1 user (show)

See Also:


Attachments
Patch the described bug (3.23 KB, patch)
2023-09-05 21:42 UTC, Alan Somers
asomers: maintainer-approval? (ehaupt)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2023-09-05 21:40:44 UTC
The fuse-ext2 program always enables the default_permissions and allow_other options.  This is wrong.  The user should be able to override those.  Since upstream appears to be unmaintained (no commits for 3 years), I think we should patch this bug locally.
Comment 1 Alan Somers freebsd_committer freebsd_triage 2023-09-05 21:42:25 UTC
Created attachment 244667 [details]
Patch the described bug
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-06 06:34:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90d93d75b9d18e66b76d0b30b9675e7928b93bc5

commit 90d93d75b9d18e66b76d0b30b9675e7928b93bc5
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-09-06 06:30:49 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-09-06 06:31:11 +0000

    sysutils/fusefs-ext2: Allow default_permissions override

    The fuse-ext2 program always enables the default_permissions and
    allow_other options. This is wrong. The user should be able to override
    those.

    Since upstream appears to be unmaintained (no commits for 3 years),
    patch this bug locally.

    PR:             273586

 .../files/patch-fuse-ext2_fuse-ext2.c (new)        | 61 ++++++++++++++++++++++
 1 file changed, 61 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-09-06 06:34:49 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cda87414cd252a8938f8b044b29f685c5b89c008

commit cda87414cd252a8938f8b044b29f685c5b89c008
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-09-06 06:30:49 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-09-06 06:34:28 +0000

    sysutils/fusefs-ext2: Allow default_permissions override

    The fuse-ext2 program always enables the default_permissions and
    allow_other options. This is wrong. The user should be able to override
    those.

    Since upstream appears to be unmaintained (no commits for 3 years),
    patch this bug locally.

    PR:             273586
    (cherry picked from commit 90d93d75b9d18e66b76d0b30b9675e7928b93bc5)

 .../files/patch-fuse-ext2_fuse-ext2.c (new)        | 61 ++++++++++++++++++++++
 1 file changed, 61 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-09-06 06:38:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d1d2fd85c277bf45abd555bb2133429d3a1e2fec

commit d1d2fd85c277bf45abd555bb2133429d3a1e2fec
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-09-06 06:36:53 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-09-06 06:36:53 +0000

    sysutils/fusefs-ext2: Bump PORTREVISION

    Bump PORTREVISION after adding a patch. This should have been done in the
    previous commit.

    PR:             273586

 sysutils/fusefs-ext2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-09-06 06:39:51 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=738d7a6bba2ea7af3a8faca7b7c7f23a5a553fe4

commit 738d7a6bba2ea7af3a8faca7b7c7f23a5a553fe4
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-09-06 06:36:53 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-09-06 06:38:45 +0000

    sysutils/fusefs-ext2: Bump PORTREVISION

    Bump PORTREVISION after adding a patch. This should have been done in the
    previous commit.

    PR:             273586
    (cherry picked from commit d1d2fd85c277bf45abd555bb2133429d3a1e2fec)

 sysutils/fusefs-ext2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Emanuel Haupt freebsd_committer freebsd_triage 2023-09-06 06:40:23 UTC
Committed to main and 2023Q3 (quarterly). Thank you.