At 17.12 +1000 2008-05-06, David Nicholls wrote:
>I want to edit some application template files that are embedded down two
>"package" levels - the packages and the files in question are owned by root.
>And I want to be able to write safe copies of the originals to the same folder.
>
>Is there a simple way to do this in BBEdit? ie a "sudo" equivalent?
Yes, BBEdit prompts you to authenticate when you try to save a file that you
don't have write permissions for (after warning you when you start editing it).
Much like a sudo but afterwards.
"Make backup before saving" with the "Use document's folder" option under Text
files in Preferences seems to be right for for the copy but I'm not sure how
BBEdit handles a situation where you don't have write permissions to the
folder. Just try it.
--
Johan Sölve [FSA Member, Lasso Partner]
Web Application/Lasso/FileMaker Developer
MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se mailto:[EMAIL PROTECTED]
(spam-safe email address, replace '-' with 'a')
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>