The run scheduler as user thread caught my attention. I'm in csh, and I want to run a compilation at a very high priority. I tried:
nice  -15  [scriptname]  >&  logfile.log &

but you can't raise priority without elevating your privileges.  So I tried:
sudo nice -15  [scriptname]  >&  logfile.log &

but it then ran the script as root -- and the resulting files are all owned by root instead of user.

Is there an easy way to tell it I want to run the script as the user? I need the results of the compilation to have user permissions. The results are many files and folders in different locations, so I prefer not to have to edit the ownership of every file after running it as root.

Thanks,
Mike

_________________________________________________________________
Get live scores and news about your team: Add the Live.com Football Page www.live.com/?addtemplate=football&icid=T001MSN30A0701

Reply via email to