![]() Made readable for persons for whom it is not intended. Change of group could be a security risk, the file could be Change of ownerĬould mean that the original owner is not able to read the file any Is not possible to preserve the original values. The file is converted by another user who has write permissions on 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 |