| Summary: | Binaries have no SUID bits in FreeBSD-8.2-RELEASE-amd64-livefs.iso | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Eugene Grosbein <ports> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | qa |
| Priority: | Normal | ||
| Version: | 8.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Eugene Grosbein
2011-06-19 11:50:07 UTC
Le Sun, 19 Jun 2011 17:42:05 +0700 (NOVST), Eugene Grosbein <egrosbein@rdtc.ru> a écrit : Hello, > >Description: > I'm trying to use FreeBSD-8.2-RELEASE-amd64-livefs.iso > with additional configs (rc.conf etc.) to boot remote system > from. Then I login using ssh and try to 'su' to root but it fails: > /usr/bin/su in the image has no SUID bit. This is not a bug (it's a feature!). A cd9660 file system does not know anything about suid/sgid bits (and even group or owner). It is not a "unix like" file system. You can't avoid this behavior. Regards. > This is not a bug (it's a feature!). A cd9660 file system does not know
> anything about suid/sgid bits (and even group or owner). It is not a
> "unix like" file system.
> You can't avoid this behavior.
Incorrect. Indeed, cd9660 does not know about files permissions
but Rockridge extention to cd9660 does. And our mount_cd9660 uses
Rockridge by default, so this bug is avoidable by using right permissions
and Rockridge while generating image (mkisofs -R, not mkisofs -r).
Eugene Grosbein
Hi! The problem is fixed in FreeBSD-8.3-RELEASE-amd64-livefs.iso Please close this PR. Eugene Grosbein State Changed From-To: open->closed Fixed in 8.3 release. |