On Wed, 26 Mar 2003, Steve Kelem wrote: > Igor Pechtchanski wrote: > > >Looks like a simple permission problem. Does your cron run under > >LocalSystem? > > > Yes it is, but I'm not sure what LocalSystem is. My W2K User Admin > doesn't list a user with that name.
It's also commonly referred to as SYSTEM. It's a builtin account with very high privileges (higher than the Administrator), and it's not shown in the User Admin window. If you use cygrunsrv, your cron runs under SYSTEM. > > Is the above DLL readable/executable by LocalSystem? > > > How do I tell? The unix permissions are 555. (As is everything, I think.) You should be able to tell by the permissions... What's the output of "ls -l" on that DLL? What about getfacl? > > I'm > >assuming it's not in a mounted directory, or if it is, the mount is seen > >by LocalSystem as well. > > Igor > > > If I run 'id" from cron, I get: > uid=1000(kelem) gid=513(None) > groups=513(None),544(Administrators),547(Power Users),545(Users) > > Thanks, > Steve So your cron switches user context... Try running the offending command from a SYSTEM-owned bash window? To get one, type "at /interactive HH:MM c:\cygwin\bin\bash --login -i" at the command prompt, where HH:MM is the current hour and one minute in the future, and then wait up to 1 minute for it to pop up. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/