Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to build the Symbol Editor for Kxstitch. All permissions appear to be correct, but I get 'permission denied' when trying to execute build.sh.
Code:
SymbolEditor-1.0.0-KDE4 $ ./build.sh
bash: ./build.sh: Permission denied
SymbolEditor-1.0.0-KDE4 $ cat build.sh
#!/bin/bash
rm -rf build
mkdir build
if [ -d "build" ]; then
cd build
THREADS=`cat /proc/cpuinfo | grep processor | wc -l`
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. && make -j${THREADS} && su -c 'make install'
else
echo "Unable to create build directory. Build aborted\n"
fi
SymbolEditor-1.0.0-KDE4 $ ls -al
total 112
drwxr-xr-x 6 jim jim 4096 Apr 23 2012 .
drwxr-xr-x 24 jim jim 4096 Feb 15 20:57 ..
-rwxr-xr-x 1 jim jim 306 Apr 23 2012 build.sh
-rw-r--r-- 1 jim jim 1489 Apr 23 2012 CMakeLists.txt
drwxr-xr-x 2 jim jim 110 Apr 23 2012 doc_images
-rw-r--r-- 1 jim jim 66833 Apr 23 2012 Doxyfile.in
-rw-r--r-- 1 jim jim 846 Apr 23 2012 hi32-app-symboleditor.png
drwxr-xr-x 2 jim jim 92 Apr 23 2012 icons
drwxr-xr-x 2 jim jim 25 Apr 23 2012 libraries
-rw-r--r-- 1 jim jim 471 Apr 23 2012 lo16-app-symboleditor.png
-rw-r--r-- 1 jim jim 846 Apr 23 2012 lo32-app-symboleditor.png
drwxr-xr-x 2 jim jim 4096 Apr 23 2012 src
-rw-r--r-- 1 jim jim 342 Apr 23 2012 SymbolEditor.desktop
-rw-r--r-- 1 jim jim 1275 Apr 23 2012 SymbolEditorui.rc
-rw-r--r-- 1 jim jim 409 Apr 23 2012 SymbolEditor.xml
There are some good security reasons to keep drives mounted noexec in certain instances. Permissions should only be changed if the compelling reason to have a noexec-mounted drive has gone away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.