Skip to content

Commit

Permalink
changing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 27, 2018
1 parent acacf9a commit f8ffe32
Show file tree
Hide file tree
Showing 41 changed files with 12 additions and 8 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified Blowfish.cpp
100644 → 100755
Empty file.
Empty file modified Blowfish.h
100644 → 100755
Empty file.
Empty file modified HashEncode.cpp
100644 → 100755
Empty file.
Empty file modified HashEncode.h
100644 → 100755
Empty file.
Empty file modified HashingAlgorithm.cpp
100644 → 100755
Empty file.
Empty file modified HashingAlgorithm.h
100644 → 100755
Empty file.
Empty file modified HashingFactory.cpp
100644 → 100755
Empty file.
Empty file modified HashingFactory.h
100644 → 100755
Empty file.
Empty file modified IHashing.h
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified Makefile
100644 → 100755
Empty file.
Empty file modified Md5.cpp
100644 → 100755
Empty file.
Empty file modified Md5.h
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified UserManager.pro
100644 → 100755
Empty file.
14 changes: 6 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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



Empty file modified moc_About.cpp
100644 → 100755
Empty file.
Empty file modified moc_HashingAlgorithm.cpp
100644 → 100755
Empty file.
Empty file modified moc_MainWindow.cpp
100644 → 100755
Empty file.
Empty file modified moc_Settings.cpp
100644 → 100755
Empty file.
Empty file modified moc_editProperties.cpp
100644 → 100755
Empty file.
Empty file modified moc_groupProperties.cpp
100644 → 100755
Empty file.
Empty file modified moc_groups.cpp
100644 → 100755
Empty file.
Empty file modified moc_myLibb.cpp
100644 → 100755
Empty file.
Empty file modified moc_userproperties.cpp
100644 → 100755
Empty file.
Empty file modified moc_users.cpp
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions move.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

cd .. && mv UserManager/ /opt
cd /opt/UserManager
chown -R root:root UserManager
chmod -R 700 /opt/UserManager
Empty file modified qrc_images.cpp
100644 → 100755
Empty file.
Empty file modified sha256.cpp
100644 → 100755
Empty file.
Empty file modified sha256.h
100644 → 100755
Empty file.
Empty file modified sha512.cpp
100644 → 100755
Empty file.
Empty file modified sha512.h
100644 → 100755
Empty file.
Empty file modified ui/HashingAlgorithm.ui
100644 → 100755
Empty file.
Empty file modified ui_About.h
100644 → 100755
Empty file.
Empty file modified ui_EditProperties.h
100644 → 100755
Empty file.
Empty file modified ui_GroupProperties.h
100644 → 100755
Empty file.
Empty file modified ui_HashingAlgorithm.h
100644 → 100755
Empty file.
Empty file modified ui_Settings.h
100644 → 100755
Empty file.
Empty file modified ui_UserProperties.h
100644 → 100755
Empty file.
Empty file modified ui_mainwindow.h
100644 → 100755
Empty file.

0 comments on commit f8ffe32

Please # to comment.