[Bug 1760899] [NEW] Encrypted /tmp gets invalid access rights

Konstantin Boyandin 1760899 at bugs.launchpad.net
Tue Apr 3 15:04:52 UTC 2018


Public bug reported:

OS: Ubuntu 16.04.4

uname -a: Linux localhost 4.15.12-x86_64-linode105 #1 SMP Thu Mar 22
02:13:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

cryptsetup version: 1.6.6-5ubuntu2.1

/etc/crypttab line:

ctmp       /dev/sdc /dev/urandom tmp

/etc/fstab line:

/dev/mapper/ctmp       /tmp ext2 defaults,noatime,nofail 0 0

/usr/lib/tmpfiles.d/tmp.conf line (unchanged)

D /tmp 1777 root root -

Problem: after OS boots up, the permissions for /tmp are set to 755,
which breaks a number of services.

If I umount /tmp, permissions for it are 1777, as expected. If I set
permissions 1777 for mounted /tmp and reboot the system, it's again 755.

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1760899

Title:
  Encrypted /tmp gets invalid access rights

Status in cryptsetup package in Ubuntu:
  New

Bug description:
  OS: Ubuntu 16.04.4

  uname -a: Linux localhost 4.15.12-x86_64-linode105 #1 SMP Thu Mar 22
  02:13:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  cryptsetup version: 1.6.6-5ubuntu2.1

  /etc/crypttab line:

  ctmp       /dev/sdc /dev/urandom tmp

  /etc/fstab line:

  /dev/mapper/ctmp       /tmp ext2 defaults,noatime,nofail 0 0

  /usr/lib/tmpfiles.d/tmp.conf line (unchanged)

  D /tmp 1777 root root -

  Problem: after OS boots up, the permissions for /tmp are set to 755,
  which breaks a number of services.

  If I umount /tmp, permissions for it are 1777, as expected. If I set
  permissions 1777 for mounted /tmp and reboot the system, it's again
  755.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1760899/+subscriptions



More information about the foundations-bugs mailing list