Skip to content

Tag: text editors

So long Notepad++, and thanks for all the chmod +x

Just as soon as I post about changing from Notepad2 to Notepad++ I’m changing back as I’ve discovered an annoying issue where editing a Linux shell script with executable permissions over a samba share, removes the executable permissions.

What I can’t figure out is why it’s only removing the user’s execute permission. I had thought perhaps it was deleting and recreating the file, which would cause the share’s create mask to remove execute permissions, but that’s not it. If a file is set 0775, it will become 0655 after a save.

I may have a workaround for it in a few days, but for now I’m back to using notepad2 for my editing needs.