LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   editing read only files (https://www.linuxquestions.org/questions/linux-general-1/editing-read-only-files-13875/)

subhasis_ray 02-09-2002 12:48 AM

editing read only files
 
when we view a file owned by some one else and in which i have read permission only, the editor prompts "changing a read only file". and then allows u to make the changes. while trying to save the changes, the editor prompts to overide with !. once this is done, the ownership changes and i become the owner. how do i protect against this?

ryanstrayer 02-09-2002 02:37 AM

Change the permissions as root before you edit it with VI.

subhasis_ray 02-09-2002 02:53 AM

thanks buddy
plz check ur mail. i have sent a message to u


All times are GMT -5. The time now is 10:45 PM.