[Bug 72547] New: kdevelop doesn't chekc file permissions: no error message if file not executable
Daniel Franke
daniel.franke at imbs.uni-luebeck.de
Tue Jan 13 13:59:02 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=72547
Summary: kdevelop doesn't chekc file permissions: no error
message if file not executable
Product: kdevelop
Version: 3.0.0b2
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: daniel.franke at imbs.uni-luebeck.de
Version: 3.0.0b2 (using KDE 3.1.4)
Installed from: compiled sources
Compiler: gcc version 3.2.2
OS: SunOS (sun4u) release 5.8
CVS 2004/01/12
-rw-rwxr-x 1 franke users 9648 Jul 23 00:07 zombie
./zombie
bash: ./zombie: Permission denied
(kdevelop project 'zombie', these file permissions are NOT set by kdevelop, but by another app)
Try to run zombie within it's project, nothing happens. A _very_ silent error message appears in application-tab (without raising it).
Try to debug the project:
-- GDB --
gdb /home/franke/devel/zombie/src/zombie -fullname -nx -quiet
(gdb) set edit off
(gdb) set confirm off
(gdb) (gdb)
(gdb) set print static-members off
(gdb) tty /dev/ttyp1
(gdb) set width 0
(gdb) set height 0
(gdb) set stop-on 1
(gdb) handle SIG32 pass nostop noprint
(gdb) handle SIG43 pass nostop noprint
(gdb) set print asm-demangle on
(gdb) cd /home/franke/devel/zombie/src
(gdb) break zombie.c:11
Breakpoint 1 at 0x10688: file zombie.c, line 11.
(gdb) run
Program exited with code 01.
--
Running 'zombie' in gdb:
(gdb) run
Starting program: /home/franke/devel/zombie/src/zombie
/usr/bin/bash: /home/franke/devel/zombie/src/zombie: Permission denied
/usr/bin/bash: /home/franke/devel/zombie/src/zombie: Permission denied
To know about the reason of 'Program exited with code 01.' would really be appreciated!
More information about the KDevelop-devel
mailing list