chown - file owner cannot chmod file, report operation not permitted - Ask Ubuntu
- use root copy or create file
a.out
chown user:user a.out
, changea.out
owner user- now change user,
su user
- use user chmod a.out,
chmod 755 a.out
- ok, problem here. step 4 output :
chmod: ./a.out: operation not permitted
i run these step on suse, it's work. , chmod can use file owner or root. so, think maybe bug on ubuntu. know this?
check file not set immutable, mentioned here:
Comments
Post a Comment