Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: "Buchbinder, Barry (NIH/NIAID)" To: cygwin AT cygwin DOT com Subject: RE: Questions on cygwin filemode in WindowsXP Date: Thu, 1 Apr 2004 10:09:51 -0500 MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes I was wondering about that, myself, recently. According to the fileutils/ls info page: > Following the permission bits is a single character that specifies > whether an alternate access method applies to the file. When that > character is a space, there is no alternate access method. When it > is a printing character (e.g., `+'), then there is such a method. Since "alternate access methods" are, as I understand it, under control of Windows, this may be off-topic: For my general education, I'd also be interested in what the "alternate access method", how one can set it, and how one might use it. Since "+" moves from test.php to test.php~, xemacs evidently renames test.php to test.php~ before saving the modified file under the original name (test.php). - Barry -----Original Message----- From: Yufeng Xiong Sent: Thursday, April 01, 2004 9:48 AM To: cygwin AT cygwin DOT com Subject: Questions on cygwin filemode in WindowsXP 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/ -- 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/