For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > chown operation not permitted

chown operation not permitted

Created by dave. Last edited by dave, 9 years and 244 days ago. Viewed 7,059 times. #1
[edit] [rdf]


chown attempt as root results in "Operation not permitted" error

# whoami 
# ls -l file
-r--r----- 1 user  group 1024 2009-05-05 11:12 file
# chown user2 file
chown: changing ownership of `file': Operation not permitted


Extended attribute 'i' is set:

# lsattr file
----i-------------- file
# chattr -i file
# chown user2 file
# ls -l file
-r--r----- 1 user2 group 1024 2009-05-05 11:12 file
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt