tSecurity fix for use in multi-user environments - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit da349afeda5349de1dde3a50bacdbb0c21c77f1c
DIR parent 252d79223b83c1418acd3629b011db11ad43a444
HTML Author: Jaromil <jaromil@dyne.org>
Date: Mon, 14 Jul 2014 18:58:09 +0200
Security fix for use in multi-user environments
The tomb mount is now readable by the opening uid only (711 r-x--x--x);
directory access is preserved to allow sharing access to certain subdirs.
Review and fix contributed by Morten Langlo
Diffstat:
M tomb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/tomb b/tomb
t@@ -1560,7 +1560,7 @@ mount_tomb() {
mount -o $MOUNTOPTS /dev/mapper/${mapper} ${tombmount}
chown ${_uid}:${_gid} ${tombmount}
- chmod 0750 ${tombmount}
+ chmod 0711 ${tombmount}
_success "Success opening $tombfile on $fg_bold[white]$tombmount$fg_no_bold[white]"