Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Fw: seeking crontab permissions workaround Date: Mon, 13 May 2002 16:42:55 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: > > Scroll down the list of Users and add "Administrator" > > Scroll down the list of Users and add "trendadm" > > - 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: > > > For WinNT: go to the: > Security tab: > > > - 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?" > > Check both options of "Replace Permissions on [Subdirectories | Existing > Files] > > > Scroll down the list of Users and add "Administrator" > NOTE: Not "Administrators" > > Scroll down the list of Users and add "trendadm" > > Change Type of Access: to "Full Control" > - to add the Users > > - to "Do you want to replace the security information on all existing > subdirectories within: C\TREND\PerVigil\var\tabs?" > > -- 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/