Re: Permissions problem with script
Re: Permissions problem with script
- Subject: Re: Permissions problem with script
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 25 Jan 2006 10:51:36 -0500
One more suggestion:
On 1/25/06, Paul Thompson <email@hidden> wrote:
> -- this copies the tmp file back to the /etc/cups folder
> do shell script ("cp /tmp/printers.conf /etc/cups/printers.conf")
> with administrator privileges
BEFORE the above line, it would be a really good idea to make a backup
copy of the existing printers.conf, before applying your changes:
do shell script ("cp /etc/cups/printers.conf
/etc/cups/printers.conf.pre-userpass") with administrator privileges
Otherwise a minor error in your script could leave you with an
unusable configuration and no way to revert.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden