문제

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?

도움이 되었습니까?

해결책

It is likely that the user will need to run your script using sudo.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top