/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.postinst

  • Committer: Teddy Hogeborn
  • Date: 2016-03-19 04:26:32 UTC
  • Revision ID: teddy@recompile.se-20160319042632-cmmhptyfmj24sbj0
Client: Make plugin helper directory in initramfs image mode u=rwx,go=

Make the plugin helper directory was secure in the initramfs image
just as it is in the normal file system.

* initramfs-tools-hook: Install plugin-helper directory into initramfs
  image as mode u=rwx.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
                 >/dev/null 2>&1; then
97
97
                chmod u=rwx,go= -- "$PLUGINHELPERDIR"
98
98
            fi
 
99
            if ! dpkg-statoverride --list /etc/mandos/plugin-helpers \
 
100
                 >/dev/null 2>&1; then
 
101
                chmod u=rwx,go= -- /etc/mandos/plugin-helpers
 
102
            fi
99
103
        fi
100
104
        ;;
101
105
    abort-upgrade|abort-deconfigure|abort-remove)