This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Can't obtain write permissions on my file...
- From: Hack Kampbjørn <cygwin at hack dot kampbjorn dot com>
- To: axellec at netcourrier dot com
- Cc: cygwin at cygwin dot com
- Date: Mon, 18 Feb 2002 14:03:09 +0100
- Subject: Re: Can't obtain write permissions on my file...
- References: <20020218123532.97815.qmail@web10301.mail.yahoo.com>
- Reply-to: cygwin at cygwin dot com
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/