Group, and read/write permissions as the original file. In old file (in-place) mode the converted file gets the same owner, Convert file FILE and overwrite output to it. ![]() The security risk of old behaviour is described in dos2unix man page: -o, -oldfile FILE. The feature of preserving the original permissions was introduced in version 5.3.1 due to security reasons. If preserving ownership and group of converted file is not essential in your use case please use dos2unix in New file mode instead of the default Old file mode, i.e.: $ dos2unix -n test_file tmp_file There were no issues in the same scenario on RHEL 6 with dos2unix-3.1. ![]() ĭos2unix: problems converting file test_file d2utmpLCmQXP: Operation not permittedĭos2unix: converting file test_file to Unix format. User A creates a file with rw permissions for all users:ĭos2unix: Failed to change the owner and group of temporary output file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |