Refusing to apply -chattr to non-dir, non-regular files
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
@c man .\" First parameter, NAME, should be all caps
|
||||
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
@c man .\" other parameters are allowed: see man(7), man(1)
|
||||
@c man .TH XORRISO 1 "Version 1.5.7, Aug 06, 2024"
|
||||
@c man .TH XORRISO 1 "Version 1.5.7, Aug 07, 2024"
|
||||
@c man .\" Please adjust this date whenever revising the manpage.
|
||||
@c man .\"
|
||||
@c man .\" Some roff macros, for reference:
|
||||
@ -2412,7 +2412,8 @@ Use code \000 for 0-bytes.
|
||||
@kindex -chattr sets Linux file attributes in ISO image
|
||||
@cindex Linux file attributes, set in ISO image, -chattr
|
||||
Set or unset Linux file attributes like program chattr(1) would do to disk
|
||||
files.
|
||||
files. Applying this command to files which are neither directory nor regular
|
||||
data file will yield a SORRY event, unless the mode is "--remove-lfa-flags".
|
||||
@*
|
||||
The first letter of the mode string determines what to do. The other letters
|
||||
are symbolic attribute flag letters out of the set "aAcCdDeEFhiIjNmPsStTuVxZ"
|
||||
@ -2443,7 +2444,11 @@ Example: -chattr +sDu /my/file /my/other_file --
|
||||
@item -chattr_r mode iso_rr_path [***]
|
||||
@kindex -chattr_r sets Linux file attributes in ISO image
|
||||
@cindex Linux file attributes, set in ISO image, -chattr_r
|
||||
Like -chattr but affecting all files below given directories.
|
||||
Like -chattr but affecting also all suitable files below the given directories.
|
||||
Except with mode "--remove-lfa-flags", the given iso_rr_path parameters need
|
||||
to be directories or regular data files or else a SORRY event will happen.
|
||||
Files below the given directories will be skipped silently if their type is
|
||||
not suitable for -chattr.
|
||||
@c man .TP
|
||||
@item -alter_date type timestring iso_rr_path [***]
|
||||
@kindex -alter_date sets timestamps in ISO image
|
||||
@ -2661,10 +2666,9 @@ E.g. look for files with both flags 'i' (immutable) and 'd' (no dump) set:
|
||||
@*
|
||||
@item -has_some_lfa_flags_of flag_letters :
|
||||
@*
|
||||
Similar to -has_lfa_flags but matching files which have Linux file attributes
|
||||
attached and have at least one of the flags set which correspond to the
|
||||
characters in the string flag_letters. The flag_letters string "-" never
|
||||
matches any file.
|
||||
Similar to -has_lfa_flags but matching files which have at least one of the
|
||||
flags set which correspond to the characters in the string flag_letters.
|
||||
The flag_letters string "-" never matches any file.
|
||||
E.g. look for files which have 'i' or 'a' or both of them set:
|
||||
@*
|
||||
-has_some_lfa_flags_of ia
|
||||
@ -2925,7 +2929,8 @@ Command -backslash_codes does not affect the output.
|
||||
shows the Linux file attribute flags like command -lsattrd does.
|
||||
@*
|
||||
@item chattr
|
||||
applies -chattr with the given mode.
|
||||
applies -chattr with the given mode. Other than command -chattr this silently
|
||||
skips any file which are not -type "dir" or "file".
|
||||
@*
|
||||
E.g.: -exec chattr +sDu --
|
||||
@*
|
||||
|
Reference in New Issue
Block a user