3 ms·
> The RockRidge extensions define support for POSIX semantics, unsure how well supported the POSIX permissions are. Permissions are supported. I'd even say the
by alexey-salmin 2y ago
> The RockRidge extensions define support for POSIX semantics, unsure how well supported the POSIX permissions are.
Permissions are supported. I'd even say they are supported more than it is reasonable. It resulted in some rather painful mistakes when preparing a media if you're not experienced enough. I'm speaking not of an OS distribution, but rather of a quick CD you burned to share some files with your friend in 2004. You could make files only readable under root, unless CD is re-mounted with specific options which probably aren't available to a non-root user in the first place. You could set suid/sgid bits. You could set a userid which is useless on a target machine (can be remapped when mounting of course).
Whereas all you really wanted in the first place was just "r" (not even "rrr") for data files and "rx" (again, not "rxrxrx") for binaries and directories.
Curiously reading "man mkisofs" now I see there's an option "-r" which is like "-R but reasonable". This would've helped me a great deal back then, I wonder if it existed and I just wasn't aware.
- josephcsible 2y ago> You could make files only readable under root, unless CD is re-mounted with specific options which probably aren't available to a non-root user in the first place. Doesn't Linux give non-root users read access to the CD's block device? And with that, couldn't you read whatever files you wanted anyway?