WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dCore bug: tmp losing "sticky" bit  (Read 3294 times)

Offline cpoakes

  • Newbie
  • *
  • Posts: 32
dCore bug: tmp losing "sticky" bit
« on: September 02, 2013, 11:51:12 PM »
I was just building an initramfs style gz file to modify boot behaviour before the SCEs are loaded.  I made an error building a tmp directory with the wrong owner and group.  After fixing the mistake and verifying that the owner/group were root/staff, I discovered that the "sticky" bit was not present on /tmp.

I pulled my changes and tested a default configuration (no tce= defined, just the kernel and initrd, no SCEs loaded): /tmp permissions are good (1777 root/staff).  I tested again with tce= set to a valid device/path and my sceboot.list set to the basic X: xorg-all, Xprogs, flwn_topside, and tcWbar: /tmp permissions missing sticky bit (0777 root/staff).  I tested again with sceboot.lst only xorg-all: again /tmp missing sticky bit.  I did not single out any other SCEs for testing; they may or may not show the same behaviour.

Assuming that most TC systems are single user systems, this is not a show stopper.  But it seems in the realm of possibility that some debian package will depend on it.