delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/23/22:29:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Mike Clarkson <mike AT python DOT net>
To: cygwin AT cygwin DOT com
Subject: File permissions and tcltk
Message-Id: <E17tfRh-0007EZ-00@starship.python.net>
Date: Mon, 23 Sep 2002 22:29:05 -0400

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019