delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/05/15:19:59

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: another cron problem - permission denied
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Mon, 5 Aug 2002 15:19:47 -0400
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E10AA84@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>, "cygwin" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g75JJxh28371

> 
> > You might try removing your /var/cron directory tree and 
> then running
> > that file/script.  If you don't have it, here is a copy
> 
> This seems all okay. So I tried to delete the current cygwin 
> installation
> (removing the cygwin base dir)
> and recogniced, that I can't delete the file in /var/cron 
> because the owner is
> system.
> 
> I tried to change the access rights and then could delete the 
> tmp files in
> /var/cron/tabs, but I'm unable to delete the /var/cron/tabs 
> folder, because I 'm
> not allowed to change (1) the owner and (2) am not allowed to 
> change access
> rights (allowed only to view the rights )
> 
> Any idea how to fix this ?
> 
> BTW: It's an NT 4.09 SP6 Workstation
> 
> Ralf
> 

Try this:

1. Look up the "Power Users" entry in /etc/group.  It is the
numeric field after the second colon, probably 547.

2. Edit your /etc/passwd file.  Change the 'group' number
(the numeric entry, probably '513', after the third colon)
to the "Power Users" numeric entry that you looked up in
step 1.

3. Start a second bash shell, and check your groups (run the
'id' command at the shell prompt)

"Power Users" might be sufficient to give you the permission
you need to remove /var/cron.

4. If not, then you might try using 'Administrators' in steps
1 and 2 above.  I always try to use the least amount of permission
necessary.

5. If neither of these work then you will need to resort to
changing your Windows account user permissions, or logging in as
an administrator.  I think that this is what Corrina Vinschen meant
by her reply:

>
> As last resort, you can take ownership as administrator.
>

---

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