[Github-comments] [geany/geany-plugins] TreeBrowser: Allow new file/folder in root folder (#960)

Enrico Tröger notifications at xxxxx
Sat Jan 8 13:01:28 UTC 2022


The assignment could be written shorter as: `SETPTR(uri, g_path_get_dirname(uri));` but this is rather a matter of taste.

I tested the changes and it "probably" works. I cannot test for sure as my `/` (root) is not writable for my user and this is good. This is probably also why nobody noticed earlier, I guess the root directory isn't writable for most users, maybe except on Windows and macOS.

@ChrisJAllan just for my curiosity, are you on Linux and your `/` is user writable?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/960#issuecomment-1007985799
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/960/c1007985799 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220108/4548e65d/attachment.htm>


More information about the Github-comments mailing list