Johan Solve wrote:
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.

I had done that and got a "-5000 error code". Both for saving the safe copy and trying to save the existing file. No warning until failure.

Maybe I'll need to go in using Terminal?

DN



--
------------------------------------------------------------------
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]>

Reply via email to