Skip to content

Preserve permissions for templates

Submitted by Denis

Assigned to Xfce Bug Triage

Link to original bug (#13804)

Description

I created a template for desktop files and another one for shell scripts (it has #!/bin/sh in the first line and also some other things I always place in my scripts) in ~/Templates folder and set permissions for them to be executable, so that when I create a desktop file or script from these templates, they should already have this permission set. However when I select in Thunar "Create document" -> new_desktop/new_shell_script, the files it creates do not have this permission. For every single desktop or script file I need to manually set that it is executable. Isn't using templates about eliminating the need for repetitive actions? So I think that Thunar should take permissions from files in ~/Templates folder and preserve them for created files, including the execution permission.