Source: fai
Version: 5.7.2
Severity: important

fcopy defines three sources for the modes of the final files:
- specified on the command line with -m/-M
- file-modes files in the files tree
- modes of source file

The modes specified in the command-line have the highest precedence and
override per file definitions in the files tree.  So the commend line
acts as override, not as default.

I frankly have no idea under with circumstances this precedence makes
any sense.  Right now you can have two different scenarios:
- modes overriden
- modes per file either explicit via file-modes or implicit of source
  file

The user can't have a default value and per-file overrides.

Bastian

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to