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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 31 Jan 2002 13:52:53 -0500 (EST) From: Michael Adler To: "'cygwin AT cygwin DOT com'" Subject: cron security/permission trouble In-Reply-To: <08B08C9FA5EBD311A2CC009027D5BF81032B0F9E@remailnt2-re01.westat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Greetings, Cygwinners. Recently, cron has been giving me trouble on several machines. My user 'eagle' does not have the correct permissions to rename the tab file (or modify anything in /var/cron). I looked at the nt permissions of the /var/cron/tab direct and it is only modifiable by the user SYSTEM, while on a machine with a well working cron, that directory is modifiable by the Administrator's group ( of which, the user 'eagle' is a member). I just did an install from cygwin.com and I experienced this problem. The other note is that there is a user 'S-1-0-0' which the OS doesn't seem to recognize, since it puts a red question mark on the icon. I would appreciate any helpful suggestions. Here's the error when using crontab: crontab: error renaming tabs/tmp.000884 to tabs/eagle rename: Permission denied Here the cygcheck info from the recent cygwin.com install: Cygwin Package Information Last downloaded files to: C:\Documents and Settings\eagle\Desktop Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin Package Version ash 20011018-1 bash 2.05a-2 cron 3.0.1-5 cygrunsrv 0.94-2 cygwin 1.3.9-1 diff 0.0 fileutils 4.1-1 findutils 4.1 gawk 3.0.4-1 gdbm 1.8.0-3 grep 2.4.2-1 gzip 1.3.2-1 libintl 0.10.38-3 libintl1 0.10.40-1 libncurses5 5.2-1 libncurses6 5.2-8 libreadline4 4.1-2 libreadline5 4.2a-1 login 1.4-3 nano 1.0.6-1 ncurses 5.2-8 readline 4.2a-1 sed 3.02-1 sh-utils 2.0-2 tar 1.13.19-1 termcap 20010825-1 terminfo 5.2-1 textutils 2.0.16-1 which 1.5-1 zlib 1.1.3-7 Cygwin Win95/NT Configuration Diagnostics Current System Time: Thu Jan 31 13:20:23 2002 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path: C:\eagle\usr\local\bin C:\eagle\bin C:\eagle\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `C:\eagle\home\eagle' MAKE_MODE = `unix' PWD = `/home/eagle' USER = `eagle' !:: = `::\' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\eagle\Application Data' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `INNOVATI-HO9VN9' COMSPEC = `C:\WINNT\system32\cmd.exe' EDITOR = `nano' HOMEDRIVE = `C:' HOMEPATH = `\' LOGONSERVER = `\\INNOVATI-HO9VN9' NUMBER_OF_PROCESSORS = `1' OLDPWD = `/usr/bin' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 10, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `080a' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\DOCUME~1\eagle\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\eagle\LOCALS~1\Temp' USERDOMAIN = `INNOVATI-HO9VN9' USERNAME = `eagle' USERPROFILE = `C:\Documents and Settings\eagle' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck.exe' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 38154Mb 7% CP CS UN PA FC d: cd N/A N/A e: cd N/A N/A . /cygdrive user binmode,noumount C:/eagle / system binmode C:/eagle/bin /usr/bin system binmode C:/eagle/lib /usr/lib system binmode Found: C:\eagle\bin\bash.exe Found: C:\eagle\bin\cat.exe Not Found: cpp (good!) Found: C:\eagle\bin\find.exe Not Found: gcc Not Found: gdb Not Found: ld Found: C:\eagle\bin\ls.exe Not Found: make Found: C:\eagle\bin\sh.exe 45k 2001/04/25 C:\eagle\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/25 1:28 35k 2002/01/09 C:\eagle\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/9 1:03 18k 2000/10/23 C:\eagle\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2000/10/22 22:26 17k 2001/06/28 C:\eagle\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 23:34 20k 2002/01/13 C:\eagle\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2002/1/12 20:27 22k 2001/12/13 C:\eagle\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 4:28 21k 2001/06/20 C:\eagle\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 13:09 26k 2001/04/25 C:\eagle\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/25 1:27 20k 2002/01/09 C:\eagle\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/9 1:03 156k 2001/04/25 C:\eagle\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29 175k 2002/01/09 C:\eagle\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03 226k 2001/04/25 C:\eagle\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/25 1:17 202k 2002/01/09 C:\eagle\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/9 1:03 15k 2001/04/25 C:\eagle\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/25 1:27 12k 2002/01/09 C:\eagle\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/9 1:03 108k 2001/06/28 C:\eagle\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 23:34 121k 2002/01/13 C:\eagle\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2002/1/12 20:27 50k 2002/01/20 C:\eagle\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2002/1/20 14:41 751k 2002/01/21 C:\eagle\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2002/1/21 12:48 Cygwin DLL version info: DLL version: 1.3.9 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 51 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Mon Jan 21 12:48:41 EST 2002 Shared id: cygwin1S3 Use -h to see help about each section -- 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/