delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/01/11:37:13

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: <005101c41807$6ff76b20$22e94b9f@YufengDell>
From: "Yufeng Xiong" <yufengxiong AT comcast DOT net>
To: "Cygwin List" <cygwin AT cygwin DOT com>, "David Rothenberger" <daveroth AT acm DOT org>
Cc: <cygwin AT cygwin DOT com>
References: <001f01c417f8$45619d90$22e94b9f AT YufengDell> <406C31FD DOT 1040108 AT acm DOT org> <003101c41804$19daec10$22e94b9f AT YufengDell> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040401111532 DOT 039397a0 AT 127 DOT 0 DOT 0 DOT 1>
Subject: Re: Questions on cygwin filemode in WindowsXP
Date: Thu, 1 Apr 2004 11:36:08 -0500
MIME-Version: 1.0
X-IsSubscribed: yes

I hate MS for this matter, why they have to have a Home version and a Pro
version,
it's all money related!

----- Original Message ----- 
From: "Larry Hall" <cygwin-lh AT cygwin DOT com>
To: "Yufeng Xiong" <yufengxiong AT comcast DOT net>; "David Rothenberger"
<daveroth AT acm DOT org>
Cc: <cygwin AT cygwin DOT com>
Sent: Thursday, April 01, 2004 11:19 AM
Subject: Re: Questions on cygwin filemode in WindowsXP


> XP Home hides the permissions and doesn't provide a GUI tool for
manipulating
> them.  If you search the web, you can find folks that claim they have been
> successful at restoring the XP Pro Security tab to the GUI by playing some
> games with service packs from NT4.  But that's a different matter.
>
> Larry
>
>
> At 11:12 AM 4/1/2004, you wrote:
> >Thanks David for the help.
> >
> >The getfacl/setfacl command works fine.
> >And the setting change in xmeacs also works.
> >
> >I'm using WindowsXP @Home, it does not seem to have anything available
for
> >changing
> >file permissions from Windows itself, does anybody know how to do it ?
> >
> >Thanks.
> >
> >----- Original Message ----- 
> >From: "David Rothenberger" <daveroth AT acm DOT org>
> >To: "Yufeng Xiong" <yufengxiong AT comcast DOT net>
> >Cc: <cygwin AT cygwin DOT com>
> >Sent: Thursday, April 01, 2004 10:15 AM
> >Subject: Re: Questions on cygwin filemode in WindowsXP
> >
> >
> >> Yufeng Xiong wrote:
> >>
> >> >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
> >> >
> >> I believe the "+" indicates that there are some Windows permissions
that
> >> do not map to the Unix-style user/group/other.  For example, if I
create
> >> a new file using cygwin (say, with touch), and then open the file's
> >> properties with Windows and explicitly add permission for another user
> >> to modify the file, I see the "+".
> >>
> >> >2. How do I set the '+' in mode manually? I used 'fstat' on the two
files
> >> >and it shows the exact
> >> >same mode (o100700).
> >> >
> >> Well, you can copy all the file attributes from one file (sourceFile)
to
> >> another (destFile) with a command like this:
> >>
> >> % getfacl - sourceFile | setfacl -f- destFile
> >>
> >> >3. Why xemacs changed the file mode? Could it be because of different
> >file
> >> >system?
> >> >
> >> Do "M-x customize-apropros" on "backup-by-copying".  The default
> >> behavior is to move the old file to the backup file and then create a
> >> new file.  If you set this option on (non-nil), the backup copy will be
> >> made as a copy and the original file will be modified.  This will
> >> preserve the extra file permissions on the original file (although the
> >> backup copy won't have them).
> >>
> >> HTH,
> >> Dave
> >>
> >
> >
> >--
> >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/
>


--
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