- use root copy or create a file
a.out
chown user:user a.out
, changea.out
owner to user- now change to user,
su user
- use user to chmod a.out,
chmod 755 a.out
- Ok, problem is here. step 4 will output :
chmod: ./a.out: Operation not permitted
I run these step on SUSE, it's work. And chmod can use by file owner or root. So, i think this maybe a bug on Ubuntu. Anyone know this?