Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does jEdit preserve file ownership and permissions when it saves files?

0
Posted

Does jEdit preserve file ownership and permissions when it saves files?

0

One reason this can be an issue is that by default, jEdit adopts the conservative approach of saving a file to a temporary name before renaming that file to the desired name. This procedure minimizes the risk of crashes causing loss of data, and works without reported problems on local file systems. However, when files are served remotely by FTP, Samba or other means, it may not be possible to preserve file attributes on the server because the newly created temporary file’s owner may differ from the owner of the original file on the server. To avoid this problem, you can disable the two-step file saving routine. Select Utilities>Global Options, then under Loading & Saving, clear the checkbox for Two-stage save.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123