Patch-ID# 100731-01 Keywords: fsck, inodes, corrupt, plain, sticky, vendor's, db, ISVTX, fchmod, chmod Synopsis: 4.1.2: kernel/db vendor's use of sticky bit on plain files causes corrupt inodes Date: 31-Aug-92 SunOS release: 4.1.2 Unbundled Product: Unbundled Release: Topic: Patch ported back from 4.1.3 to fix sticky bit problem BugId's fixed with this patch: 1100860 1077035 Changes incorporated in this version: fix ufs_inode.c to invoke IUPDATE macro under all appropriate occasions. Architectures for which this patch is available: sun4, sun4c, sun4m Patches which may conflict with this patch: 100505-01 100548-01 Obsoleted by: release 4.1.3 Files included with this patch: ufs_bmap.o ufs_dir.o ufs_inode.o Problem Description: A two-line fix from 4.1.3 had to backported into ufs_inode.c under 4.1.2. The IUPDATE macro was not being called under certain conditions. This left unreferenced files under certain conditions. Note: This patch has been applied on top of S100623-01 which is also called the ufs "jumbo" patch. INSTALL: mv /sys/`arch -k`/OBJ/ufs_bmap.o /sys/`arch -k`/OBJ/ufs_bmap.o_orig mv /sys/`arch -k`/OBJ/ufs_inode.o /sys/`arch -k`/OBJ/ufs_inode.o_orig mv /sys/`arch -k`/OBJ/ufs_dir.o /sys/`arch -k`/OBJ/ufs_dir.o_orig cp `arch -k`/ufs_bmap.o /sys/`arch -k`/OBJ/ufs_bmap.o cp `arch -k`/ufs_inode.o /sys/`arch -k`/OBJ/ufs_inode.o cp `arch -k`/ufs_dir.o /sys/`arch -k`/OBJ/ufs_dir.o Then, build, install, and boot a new kernel. Please refer to the System and Network Administration Manual.