<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Write access forbidden]]></title><description><![CDATA[<p dir="auto">Is it possible in notepad++ to set an option that I can´t open the same file with write access.<br />
In microsoft word if I want to open the same file twice I will get an message that the file is already opened.<br />
We have the problem that several persons edit one file with notepad++. I will get an message if an other person has opened the file already.</p>
<p dir="auto">Please can you help me?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18318/write-access-forbidden</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 15:03:07 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18318.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Oct 2019 05:36:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Write access forbidden on Fri, 04 Oct 2019 07:38:27 GMT]]></title><description><![CDATA[<p dir="auto">I don’t know but I don’t think so.<br />
You can file a feature request here if you like:<br />
<a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues" rel="nofollow ugc">https://github.com/notepad-plus-plus/notepad-plus-plus/issues</a></p>
<p dir="auto">BR</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47538</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47538</guid><dc:creator><![CDATA[pnedev]]></dc:creator><pubDate>Fri, 04 Oct 2019 07:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Fri, 04 Oct 2019 04:58:27 GMT]]></title><description><![CDATA[<p dir="auto">Ok many thanks for your answer. I know that other editors can lock this file during it is in use.<br />
Is that option planned for development?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47537</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47537</guid><dc:creator><![CDATA[Tobias Dietrich]]></dc:creator><pubDate>Fri, 04 Oct 2019 04:58:27 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Thu, 03 Oct 2019 13:06:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/16536">@Tobias-Dietrich</a> ,</p>
<p dir="auto">Currently you cannot know that another person has already opened the file.<br />
It is because the file is kept open for a very short time (only when reading it or writing it) and then it is immediately closed.</p>
<p dir="auto">BR</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47503</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47503</guid><dc:creator><![CDATA[pnedev]]></dc:creator><pubDate>Thu, 03 Oct 2019 13:06:13 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 11:42:33 GMT]]></title><description><![CDATA[<p dir="auto">I don´t know what I should do with this c# code.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47485</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47485</guid><dc:creator><![CDATA[Tobias Dietrich]]></dc:creator><pubDate>Wed, 02 Oct 2019 11:42:33 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 08:56:33 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://youtu.be/Z-gFHe7u6Mc" rel="nofollow ugc">file is just not busy by npp</a></p>
]]></description><link>https://community.notepad-plus-plus.org/post/47483</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47483</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Wed, 02 Oct 2019 08:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 08:40:14 GMT]]></title><description><![CDATA[<p dir="auto">I don´t know, how I import this code as plugin.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47481</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47481</guid><dc:creator><![CDATA[Tobias Dietrich]]></dc:creator><pubDate>Wed, 02 Oct 2019 08:40:14 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 07:13:29 GMT]]></title><description><![CDATA[<p dir="auto">yes i have c# code for write a plugin for notify if file in use (file is busy) but not sure it works file who in use by other user</p>
<pre><code>protected virtual bool IsFileLocked(FileInfo file)
{
    FileStream stream = null;

    try
    {
        stream = file.Open(FileMode.Open, FileAccess.Read, FileShare.None);
    }
    catch (IOException)
    {
        //the file is unavailable because it is:
        //still being written to
        //or being processed by another thread
        //or does not exist (has already been processed)
        return true;
    }
    finally
    {
        if (stream != null)
            stream.Close();
    }

    //file is not locked
    return false;
}
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/47480</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47480</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Wed, 02 Oct 2019 07:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 06:38:25 GMT]]></title><description><![CDATA[<p dir="auto">With document list panel I can´t see that the file is already opened by an other user.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47477</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47477</guid><dc:creator><![CDATA[Tobias Dietrich]]></dc:creator><pubDate>Wed, 02 Oct 2019 06:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 06:07:32 GMT]]></title><description><![CDATA[<p dir="auto">document list panel can show you file has set as read only</p>
<p dir="auto">setting &gt; preference &gt; general &gt; document list panel</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47476</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47476</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Wed, 02 Oct 2019 06:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 05:57:37 GMT]]></title><description><![CDATA[<p dir="auto">Yes an plugin or if there is any setting to change this.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47475</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47475</guid><dc:creator><![CDATA[Tobias Dietrich]]></dc:creator><pubDate>Wed, 02 Oct 2019 05:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to Write access forbidden on Wed, 02 Oct 2019 05:44:10 GMT]]></title><description><![CDATA[<p dir="auto">at this time are you seeking a plugin or script who notify if file has already opened in npp or another editor ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/47474</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/47474</guid><dc:creator><![CDATA[rinku singh]]></dc:creator><pubDate>Wed, 02 Oct 2019 05:44:10 GMT</pubDate></item></channel></rss>