This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't obtain write permissions on my file...


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]