File permissions and tcltk
Mike Clarkson
mike@python.net
Mon Sep 23 22:57:00 GMT 2002
I have a strange problem with xile permissions under
cygwin 1.3.13 using Mumit Khan's tcltk 8.3.3. Tcl thinks
a file is executable (it's a bash script mode 755), but
using Tcl's exec it won't execute it, and Tcl's file stat
say's it's mode 644.
(maxima) 33 % exec /bin/ls -l [auto_execok maxima]
-rwxr-xr-x 1 Schneide unknown 6128 Sep 7 15:39 C:/MIKE/CYGWIN-1.3.12/USR/LOCAL/BIN/maxima
(maxima) 34 % file stat [auto_execok maxima] bar
(maxima) 35 % parray bar
bar(atime) = 1031371200
bar(ctime) = 1031427565
bar(dev) = 2
bar(gid) = 0
bar(ino) = 0
bar(mode) = 33188
bar(mtime) = 1031427566
bar(nlink) = 1
bar(size) = 6128
bar(type) = file
bar(uid) = 0
(maxima) 36 % format %o 33188
100644
Has anyone any ideas? Please cc: replies to my email.
Many thanks
Mike.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list