Ticket #1787 (closed enhancement: fixed)

Opened 3 years ago

Last modified 17 months ago

Different recursive permissions for directory and files

Reported by: gads Owned by: dkocher
Priority: normal Milestone: 3.2
Component: interface Version: 2.8.4
Severity: normal Keywords:
Cc: Platform:
Architecture:

Description

It would be great if I could set different permissions for directories and files during recursive update.

Example: I would set 777 for directories and 755 for files.

This feature could be enable by setting a check box, or something.

Change History

comment:1 Changed 2 years ago by dkocher

  • Status changed from new to assigned
  • Component changed from core to interface
  • Milestone set to 3.1

comment:2 Changed 2 years ago by dkocher

  • Milestone changed from 3.0.2 to 3.1

comment:3 Changed 2 years ago by anonymous

  • Priority changed from normal to highest

comment:4 Changed 21 months ago by anonymous

It would be nice to have the execute bit only set for dirs and files that already have the x bit; to have the behaviour of 'chmod a+rwX' instead of the current 'chmod 777'

comment:5 Changed 17 months ago by dkocher

  • Priority changed from highest to normal

comment:6 Changed 17 months ago by dkocher

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from 3.2 to 3.1.3

In r4560. When modifying permissions recursively, only add the execute bits if the file is a directory or any of the execute/search bits are set in the original (unmodified) mode of the regular file.

Note: See TracTickets for help on using tickets.