Merge pull request #35 from davinerd/fix_permissions_tomb

fixed chown and chmod tomb file
This commit is contained in:
nignux 2011-08-29 05:09:03 -07:00
commit d979ebc332

View File

@ -500,8 +500,8 @@ create_tomb() {
# set permissions on the tomb # set permissions on the tomb
ME=${SUDO_USER:-$(whoami)} ME=${SUDO_USER:-$(whoami)}
chmod 0600 ${tombfile} chmod 0600 "${tombdir}/${tombfile}"
chown $(id -u $ME):$(id -g $ME) ${tombfile} chown $(id -u $ME):$(id -g $ME) "${tombdir}/${tombfile}"
act "done creating $tombname encrypted storage (using Luks dm-crypt AES/SHA256)" act "done creating $tombname encrypted storage (using Luks dm-crypt AES/SHA256)"
notice "Your tomb is ready in ${tombdir}/${tombfile} and secured with key ${tombfile}.key" notice "Your tomb is ready in ${tombdir}/${tombfile} and secured with key ${tombfile}.key"