Skip to content

Commit

Permalink
fix(actions.create): use default mkdir mode 0755
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestrew committed Feb 15, 2024
1 parent 26b5e86 commit f4720fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/_extensions/file_browser/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ local create = function(file, finder)
if not fb_utils.is_dir(file.filename) then
file:touch { parents = true }
else
Path:new(file.filename:sub(1, -2)):mkdir { parents = true }
Path:new(file.filename:sub(1, -2)):mkdir { parents = true, mode = 493 } -- 493 => decimal for mode 0755
end
return file
end
Expand Down

0 comments on commit f4720fc

Please sign in to comment.