From a shell script, I'm trying to remove extended attribute
setfattr -x security.selinux file.txt
The file.txt has mode as 777
but im getting "permission denied error"
How to fix this
From a shell script, I'm trying to remove extended attribute
setfattr -x security.selinux file.txt
The file.txt has mode as 777
but im getting "permission denied error"
How to fix this
It is likely that the user will need to run your script using sudo
.