Skip to content

Insecure permissions for /dev/ada0 #150

Closed
Closed

Description

@ricardobranco777

Version

24.04.1

What desktop?

Official MATE

Explain the issue and what happens

The ada0 disk is world readable & writable.

Explain how to reproduce the bug?

> ls -l /dev/ada0*
crw-rw-rw-  1 root operator 0x6e Jun 14 18:13 /dev/ada0
crw-rw-rw-  1 root operator 0x76 Jun 14 18:13 /dev/ada0p1
crw-rw-rw-  1 root operator 0x78 Jun 14 18:13 /dev/ada0p2
crw-rw-rw-  1 root operator 0x7a Jun 14 18:13 /dev/ada0p3

What is the Expected behavior (if applicable)

No response

Additional context (if applicable)

No response

Activity

  1. ericbsd commented on Jun 17, 2024

    @ericbsd
    Contributor

    It is set like this so that users can mount partitions. We might not need this anymore, so I would have to do some testing.

  2. ricardobranco777 commented on Jun 17, 2024

    @ricardobranco777
    Author

    It is set like this so that users can mount partitions. We might not need this anymore, so I would have to do some testing.

    Why not rely on users being in the operator group for this?

  3. ricardobranco777 commented on Aug 31, 2025

    @ricardobranco777
    Author

    This seems to be fixed in GhostBSD-25.02-R14.3p2 or at least in the VM I'm trying this on:

    $ ls -l /dev/vt*
    crw-r-----  1 root operator 0x39 Aug 31 12:47 /dev/vtbd0
    crw-r-----  1 root operator 0x3a Aug 31 12:47 /dev/vtbd0p1
    crw-r-----  1 root operator 0x3b Aug 31 12:47 /dev/vtbd0p2
    crw-r-----  1 root operator 0x3c Aug 31 12:47 /dev/vtbd0p3
    

    But there are still some problematic permissions:

    $ ls -l /dev/cd0 /dev/usbctl 
    crw-rw-rw-  1 root operator 0x70 Aug 31 12:47 /dev/cd0
    crw-rw-rw-  1 root operator 0x57 Aug 31 12:47 /dev/usbctl
    

    The distro is otherwise good. Keep up the good work!

  4. added theissue type on Jan 15, 2026
  5. ricardobranco777 commented on Oct 25, 2026

    @ricardobranco777
    Author

    Not seen in GhostBSD-26.2-R15.1p4-10-25-12-49.iso

  6. moved this from To Triage to Done in Development Trackeron Oct 25, 2026
  7. self-assigned this
    on Oct 25, 2026
  8. moved this from Done to In Progress in Development Trackeron Oct 25, 2026
  9. changed the issue type fromtoon Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions