diff options
Diffstat (limited to 'man/man1/dos2unix.pod')
-rw-r--r-- | man/man1/dos2unix.pod | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/man/man1/dos2unix.pod b/man/man1/dos2unix.pod index 4793aa4..43601da 100644 --- a/man/man1/dos2unix.pod +++ b/man/man1/dos2unix.pod @@ -177,10 +177,24 @@ New file mode. Convert file INFILE and write output to file OUTFILE. File names must be given in pairs and wildcard names should I<not> be used or you I<will> lose your files. +The person who starts the conversion in new file (paired) mode will be the owner +of the converted file. The read/write permissions of the new file will be the +permissions of the original file minus the umask(1) of the person who runs the +conversion. + =item B<-o, --oldfile FILE ...> Old file mode. Convert file FILE and overwrite output to it. The program -default to run in this mode. Wildcard names may be used. +defaults to run in this mode. Wildcard names may be used. + +In old file (in-place) mode the converted file gets the same owner, group, and +read/write permissions as the original file. Also when the file is converted by +an other user who has write permissions on the file (e.g. user root). The +conversion will be aborted when it is not possible to preserve the original +values. Change of owner could mean that the original owner is not able to read +the file any more. Change of group could be a security risk, the file could be +made readable for persons for whom it is not intended. Preservation of owner, +group, and read/write permissions is only supported on Unix. =item B<-q, --quiet> |