delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/13/17:50:54

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: <000801c1fac7$2460bcc0$6400000a@hpdev01>
From: "Jason Travis" <jason DOT travis AT pervigil DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Fw: seeking crontab permissions workaround
Date: Mon, 13 May 2002 16:42:55 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

> Hello.  I have installed Cygwin 1.3.9 onto a Win32 box and have discovered
that
> when one used the command:
>
> cygrunsrv -I cron -d "Cygwin_CRON" -p /usr/sbin/cron -a '-D' -e
> "CYGWIN=ntsec"
> cygrunsrv -S cron
>
> to start the cron server instance we found that certain permission issues
> arise.  Specifically, the permissions for the ~/cron/tab directory
structure
> were such that even Administrators were unable to add entries into cron.
> Our immediate solution was to perform the following operations.  However
we
> would like to know if there is a way that we could 1) not use the
> "CYGWIN=ntsec" command-line parameter which would then 2) allow us to not
> have to perform the following operations in order to make the directory
> structure ~/cron/tab accessable to various users.
>
> Below is our work around for making the ~/cron/tab directory structure
> accessable to various users.
>
> Thank you in advance for your help and assistance.
>
> -Jason
>
> In Windows Explorer, change the directory (folder) to:
> ~\var\cron
> Right-click on the "Tabs" directory and go to "Properties":
> For Win2K: go to the:
> Security tab:
> <Add.>
> Scroll down the list of Users and add "Administrator"
> <Add>
> Scroll down the list of Users and add "trendadm"
> <Add>
> <OK> - to add the Users
> Select the "Administrator" user under Name:, then check "Full Control"
> [Allow] under Permissions:
> Select the "trendadm" user under Name:, then check "Full Control" [Allow]
> under Permissions:
> <Apply>
> <OK>
> For WinNT: go to the:
> Security tab:
> <Ownership>
> <Take Ownership>
> <Yes> - to "One of more of the items selected is a directory. Do you want
to
> replace the security information on all existing subdirectories within:
> C\TREND\PerVigil\var\tabs?"
> <Permissions>
> Check both options of "Replace Permissions on [Subdirectories | Existing
> Files]
> <Add.>
> <Show Users>
> Scroll down the list of Users and add "Administrator"
> NOTE: Not "Administrators"
> <Add>
> Scroll down the list of Users and add "trendadm"
> <Add>
> Change Type of Access: to "Full Control"
> <OK> - to add the Users
> <OK>
> <Yes> - to "Do you want to replace the security information on all
existing
> subdirectories within: C\TREND\PerVigil\var\tabs?"
> <OK>
>


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