Given my directory dir and my file dir/file owned by me, which permissions allow me to access and change the content (data) in the file dir/file but not delete the file?
Given my directory dir and my file dir/file owned by me, permissions that allow me to access and change the content (data) in the file dir/file but not delete the file is
644
the explanation of the permission will look like this
Owner or User - Read & Write permission
Group - Read only permission
Other or Everyone - Read only permission
implementation
to change the permission of the file we can write
chmod 755 myfile.h // file name myfile.h
This changes the permission of the file (myfile.h) and sets the permission to 755.
You can comment if you have any doubt.
Upvote if you got your answer.
Thanks
Get Answers For Free
Most questions answered within 1 hours.