This is the mail archive of the cygwin 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]

Re: Problem with bash script running under NT AUTHORITY\SYSTEM

Larry Hall (Cygwin) wrote:
> Remember, SYSTEM is not you.  It doesn't have your environment or your
> access
> rights.  You need to be very careful and explicit with paths, files, and
> their
> permissions.  Whatever permissions and paths you have in your environment
> has
> to be replicated in some way for things to work like they do when you run
> them.
> -- 
> Larry Hall                    

Ok, it's that SYSTEM running through cygwin has no access to the disk. I
thought it would work because other scripts I have work, but they don't
access the disk. mysqldump works because that command doesn't access the
disk, but tells a running process (mysql) to access the disk.

So someone else wrote the script to run in DOS, and we've dropped the idea
of scripting scheduled tasks with cygwin. Unless I can figure out how to get
SYSTEM access to the disk through it. :)

Thanks for your responses.
View this message in context:
Sent from the Cygwin list mailing list archive at

Problem reports:
Unsubscribe info:

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