chown: changing ownership of ... Operation not permitted
Gregory Piñero
gregpinero at gmail.com
Sat Aug 19 19:35:11 UTC 2006
Hi guys,
I'm a little stuck here:
Ultimately I want to run this:
chiefinnovator at MAIN1:~$ python
/home/chiefinnovator/stock_market_prediction/create_data_file.py
Traceback (most recent call last):
File "/home/chiefinnovator/stock_market_prediction/create_data_file.py",
line10, in ?
from matplotlib.finance import quotes_historical_yahoo
File "/usr/lib/python2.4/site-packages/matplotlib/__init__.py", line
733, in ? rcParams = rc_params()
File "/usr/lib/python2.4/site-packages/matplotlib/__init__.py", line
689, in rc_params
for line in file(fname):
IOError: [Errno 13] Permission denied: '/etc/matplotlibrc'
but as you can see I get a permission denied error.
So I figure I should run this:
chiefinnovator at MAIN1:~$ sudo chown -hR chiefinnovator "/etc/matplotlibrc"
chown: changing ownership of `/etc/matplotlibrc': Operation not permitted
But a get this operation not permitted error.
I also get the same error when running:
sudo chown chiefinnovator "/etc/matplotlibrc"
And additionally if I use nautilus as root it still won't let me
change ownership or permissions on this (file?)
Thanks,
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
(www.blendedtechnologies.com)
More information about the ubuntu-users
mailing list