Community
    • Login

    Network drives

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 3.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • György BugánG
      György Bugán
      last edited by

      Hi! I’ve just updated to 7.4.2 and since then I can not save to network drives. Light Explorer or Explorer should solve this, but not this time. Any suggestions? Thanks

      1 Reply Last reply Reply Quote 0
      • glennfromiowaG
        glennfromiowa
        last edited by glennfromiowa

        @György-Bugán , I’ve been on 7.4.2 for well over a month now, and I save to network drives all the time. Is it possible it’s an interaction between Notepad++ and your local network, or perhaps something coincidental happened on your network when you upgraded? Have you tried reverting to an older version, preferably the one you were on previously?

        1 Reply Last reply Reply Quote 0
        • György BugánG
          György Bugán
          last edited by

          Tried to downgrade. Now running 6.9.2, without network drives. After starting npp I can open files from network drives, when saving npp ask to switch to administrator mode and network drives disappear. If I start Npp as administrator I can’t browse network drives at all. Thanks for your help.

          1 Reply Last reply Reply Quote 0
          • gstaviG
            gstavi
            last edited by

            Are you using Linux based servers over SAMBA?
            Notepad++ uses file API which causes files over SAMBA to be re-created instead of modified.
            As a result they are reassigned with new permission set according to SAMBA defaults for the user or the share. Often the new permissions will not allow addtional update on the next write.

            You can see this patch I created for myself long ago. Specifically note the comment:

            /* Use open/close API instead of fopen/fclose so when updating existing
             * files over SAMBA they will not be treated as new and retain their current 
             * access mode */
            

            If this is your problem then you may workaround it by modifying samba configuration so new files will get usable permissions.

            1 Reply Last reply Reply Quote 0
            • gerdb42G
              gerdb42
              last edited by

              Mapped Network drives only exist in your user’s default context. When you start an Application with “Run as Administrator” it runs in a different context and thus doesn’t see your mappings.

              Either use UNC Pathes (like \\yourserver\yourshare) or re-map your drives from a command window running as administrator (command: net use x: \\yourserver\yourshare)

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors