delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/01/09:48:04

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
Message-ID: <001f01c417f8$45619d90$22e94b9f@YufengDell>
From: "Yufeng Xiong" <yufengxiong AT comcast DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Questions on cygwin filemode in WindowsXP
Date: Thu, 1 Apr 2004 09:47:35 -0500
MIME-Version: 1.0
X-IsSubscribed: yes

Hi All,

I'm using the xemacs comes with Cygwin on WindowXP for file editing, but it
has a problem with file mode:

My original file (test.php) has the following mode using "ls -l":

-rwx------+            .............................   test.php

after I edit it with xemacs, it generated a file called test.php~, which is
like an exact copy of the old file, but
the original file mode changed, "ls -l" showed:

-rwx---------           .............................. test.php
-rwx---------+         .............................. test.php~

Now I have some questions:

1. What is the '+' in the file mode? I know it has something to do with file
permission, after
the editing, my web server/PHP does not have permission to open test.php
anymore
2. How do I set the '+' in mode manually? I used 'fstat' on the two files
and it shows the exact
same mode (o100700).
3. Why xemacs changed the file mode? Could it be because of different file
system?

Thanks for any help.

Yufeng


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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