From a shell script, I’m trying to remove extended attribute
setfattr -x security.selinux file.txt
The file.txt has mode 777, but im getting “permission denied error”.
How can I fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & 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.
It is likely that the user will need to run your script using
sudo.