This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

File permissions and tcltk


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]