This is the mail archive of the
mailing list for the Cygwin project.
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
> rights. You need to be very careful and explicit with paths, files, and
> permissions. Whatever permissions and paths you have in your environment
> to be replicated in some way for things to work like they do when you run
> Larry Hall http://www.rfk.com
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: http://old.nabble.com/Problem-with-bash-script-running-under-NT-AUTHORITY%5CSYSTEM-tp26617039p26628439.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple