NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Amd mounts CD-ROM without any permission.



On Mon, 09 Nov 2026 11:57:58 +0000, RVP wrote:
> This looks like a bug in the `cdfs' type of amd(8). It's memset()ing `cdfs_args'
> (AKA `struct iso_args') to `0', then not changing the `iso_args.fmask' and
> `iso_args.dmask' anywhere, so you end up with the permissions, above:
>
> https://github.com/NetBSD/src/blob/trunk/external/bsd/am-utils/dist/amd/ops_cdfs.c#L114
>
> File a PR. The fix (or at least, a hack) for this is pretty simple.

Thank you.  I'll take a look at it.


Regards,
  Kogulé, Ryo


Home | Main Index | Thread Index | Old Index