delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/18/08:04:05

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C70FB8D.25540D91@hack.kampbjorn.com>
Date: Mon, 18 Feb 2002 14:03:09 +0100
From: Hack =?iso-8859-1?Q?Kampbj=F8rn?= <cygwin AT hack DOT kampbjorn DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: axellec AT netcourrier DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Can't obtain write permissions on my file...
References: <20020218123532 DOT 97815 DOT qmail AT web10301 DOT mail DOT yahoo DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g1ID44119689

Axelle Apvrille wrote:
> 
> Hi,
> Thanks for your answer. But the problem I have does
> not concern group ids, but user ids (or so I believe).
> I have made the fix you suggested. Okay so now, my
> group id is no longer "None" but "Administrators".
> I have :
> 
> > ls -al
> total 108
> drwxr-xr-x   1 Administ Administ        0 Feb 18 11:37
> .
> drwxr-xr-x   1 Administ Administ        0 Feb 11 17:12
> ..
> drwxr-xr-x   1 Administ Administ        0 Feb 15 15:23
> CVS
> -rw-r--r--   1 Administ Administ     8008 Feb 18 11:27
> isse-xml.tex
> > id
> uid=500(Administrator) gid=544(Administrators)
> groups=544(Administrators)
> > emacs isse-xml.tex &
> 
> => When emacs is loaded, he tells me I can't write
> over isse-xml.tex...
> I'm administrator: rights are rw-r--r--. So I should
> have rw- access on the file ! Why can't I write on it
> ?
> 

Last I checked emacs was not part of the cygwin distribution, so we
should find out which emacs you're using. Start with something simpler.
Try to find out if it's a cygwin issue, a emacs thing or a combination.

Do you have write access to the file under cygwin:
$ touch testing
$ echo "Testing write access with echo #1"> testing
$ echo "Testing write access with echo #2">> testing
$ vi testing # Something simple like: OTesting write access with
vi^Esc:wq!

And try step 3 and 4 with the isse-xml.tex file

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn

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