Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007063: vi overrides file ownership permission

$
0
0
I have saved a text file owned by root on a users directory. With permission set to 400.<br /> <br /> The user open the file using vi and not able to view file because of permission settings. Started to type randomly and try to save the file. I was able to save it with :wq!<br /> <br /> listing the file shows the permission to be the same but the file owner and group is now set to the user.

Viewing all articles
Browse latest Browse all 19115


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>