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]

Fw: seeking crontab permissions workaround


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


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