diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/Blowfish.cpp b/Blowfish.cpp old mode 100644 new mode 100755 diff --git a/Blowfish.h b/Blowfish.h old mode 100644 new mode 100755 diff --git a/HashEncode.cpp b/HashEncode.cpp old mode 100644 new mode 100755 diff --git a/HashEncode.h b/HashEncode.h old mode 100644 new mode 100755 diff --git a/HashingAlgorithm.cpp b/HashingAlgorithm.cpp old mode 100644 new mode 100755 diff --git a/HashingAlgorithm.h b/HashingAlgorithm.h old mode 100644 new mode 100755 diff --git a/HashingFactory.cpp b/HashingFactory.cpp old mode 100644 new mode 100755 diff --git a/HashingFactory.h b/HashingFactory.h old mode 100644 new mode 100755 diff --git a/IHashing.h b/IHashing.h old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/Md5.cpp b/Md5.cpp old mode 100644 new mode 100755 diff --git a/Md5.h b/Md5.h old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/UserManager.pro b/UserManager.pro old mode 100644 new mode 100755 diff --git a/install.sh b/install.sh index 3a754be..28870db 100755 --- a/install.sh +++ b/install.sh @@ -2,13 +2,6 @@ # generate a run script which performing the build process of UserManager application -#pathwd=$(pwd | cut -d" " -f2) -# if [ "$pathwd" != "pwd" ]; then -# cp -r ../UserManager/ /opt/ -# cd /opt/UserManager/ -# rm -rf ../UserManager/ -# fi - os=$(uname -a) directory=$(pwd | cut -d/ -f3) usr=$(whoami) @@ -87,7 +80,12 @@ echo "installfiles.path += /usr/bin/" >> UserManager.pro echo "INSTALLS += installfiles" >> UserManager.pro make make install -#UserManager +cd .. && mv UserManager/ /opt +cd /opt/UserManager +chown -R root:root UserManager +chmod -R 700 /opt/UserManager +chmod 700 /usr/bin/UserManager +./UserManager diff --git a/moc_About.cpp b/moc_About.cpp old mode 100644 new mode 100755 diff --git a/moc_HashingAlgorithm.cpp b/moc_HashingAlgorithm.cpp old mode 100644 new mode 100755 diff --git a/moc_MainWindow.cpp b/moc_MainWindow.cpp old mode 100644 new mode 100755 diff --git a/moc_Settings.cpp b/moc_Settings.cpp old mode 100644 new mode 100755 diff --git a/moc_editProperties.cpp b/moc_editProperties.cpp old mode 100644 new mode 100755 diff --git a/moc_groupProperties.cpp b/moc_groupProperties.cpp old mode 100644 new mode 100755 diff --git a/moc_groups.cpp b/moc_groups.cpp old mode 100644 new mode 100755 diff --git a/moc_myLibb.cpp b/moc_myLibb.cpp old mode 100644 new mode 100755 diff --git a/moc_userproperties.cpp b/moc_userproperties.cpp old mode 100644 new mode 100755 diff --git a/moc_users.cpp b/moc_users.cpp old mode 100644 new mode 100755 diff --git a/move.sh b/move.sh new file mode 100755 index 0000000..e313e56 --- /dev/null +++ b/move.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +cd .. && mv UserManager/ /opt +cd /opt/UserManager +chown -R root:root UserManager +chmod -R 700 /opt/UserManager diff --git a/qrc_images.cpp b/qrc_images.cpp old mode 100644 new mode 100755 diff --git a/sha256.cpp b/sha256.cpp old mode 100644 new mode 100755 diff --git a/sha256.h b/sha256.h old mode 100644 new mode 100755 diff --git a/sha512.cpp b/sha512.cpp old mode 100644 new mode 100755 diff --git a/sha512.h b/sha512.h old mode 100644 new mode 100755 diff --git a/ui/HashingAlgorithm.ui b/ui/HashingAlgorithm.ui old mode 100644 new mode 100755 diff --git a/ui_About.h b/ui_About.h old mode 100644 new mode 100755 diff --git a/ui_EditProperties.h b/ui_EditProperties.h old mode 100644 new mode 100755 diff --git a/ui_GroupProperties.h b/ui_GroupProperties.h old mode 100644 new mode 100755 diff --git a/ui_HashingAlgorithm.h b/ui_HashingAlgorithm.h old mode 100644 new mode 100755 diff --git a/ui_Settings.h b/ui_Settings.h old mode 100644 new mode 100755 diff --git a/ui_UserProperties.h b/ui_UserProperties.h old mode 100644 new mode 100755 diff --git a/ui_mainwindow.h b/ui_mainwindow.h old mode 100644 new mode 100755