Community
    • Login

    Inability to save file to OneDrive with 8.9.6 version of Notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 276 Views 2 Watching
    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.
    • smcclosrS Offline
      smcclosr
      last edited by

      I did an upgrade from 8.9.5 and after that happened, there was a behavior change to Notepad ++. With this update, when I wanted to save a file to my OneDrive, the UAC comes up asking to enter my administrator credentials.

      Now if I enter them or I don’t enter them, the file fails to save. Version 8.9.6 has no problems saving files to other locations on the system that the user would normally have permissions to.

      This problem only manifests in 8.9.6. Previous versions did not have this problem. I normally do 99% of my writes to OneDrive, so this is a small problem. And I normally work in user mode, without administrative permissions for saftey reasons. I have not tried logging in as an administrator and accessing my OneDrive, but believe I don’t have to because the situation I am using is pretty common.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @smcclosr
        last edited by

        @smcclosr ,

        The UAC for Admin credentials is always given when the Windows OS replies to Notepad++ that permission is denied for writing to a file. Unfortuntely, Windows can give that message even when it’s not really a permissions issue.

        As @mathlete2 says in this similar discussion from April, it might be that OneDrive hasn’t fully connected when you log in – so if OneDrive isn’t “awake” yet, then when Notepad++ tries to read or write from a OneDrive folder, Windows might report that as “permission denied”.

        And in December, @xomx mentioned in another discussion that Windows “Controlled folder access” can cause problems for Notepad++ and OneDrive.

        I suggest looking into the suggestions made in those two recent discussions, and see if either ends up being relevant to your issue.

        smcclosrS 1 Reply Last reply Reply Quote 2
        • smcclosrS Offline
          smcclosr @PeterJones
          last edited by

          @PeterJones It is a new behavior / issue with 8.9.6. I rolled back to 8.9.5, and all my problems went away.

          1 Reply Last reply Reply Quote 0
          • PeterJonesP PeterJones referenced this topic on
          • smcclosrS Offline
            smcclosr
            last edited by

            Installed 8.9.6.1, and the program is behaving normally again now. Not 100% user if this version addressed this specific issue, but it is resolved for me now.

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • PeterJonesP Offline
              PeterJones @smcclosr
              last edited by

              @smcclosr said:

              Not 100% user if this version addressed this specific issue,

              It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive)

              My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.)

              but it is resolved for me now.

              Hopefully it stays that way. Good luck.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors