What Permissions Are Needed To Delete a File In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In order to delete a file in Linux, the user must have write permission in the directory containing the file and execute permission on all parent directories of the file. The user must also be the owner of the file or have root privileges.