Failure to change ownership.
Posted: Tue Jan 01, 2008 4:01 pm
I have long been plagued by partitions which should belong to me but obstinately get assigned to root.
Today I read the manual for chown and ran the command: $ sudo chown -R theo /media/Backups
This resulted in a lengthy process which ran through all the files in that partition - mainly 2 backups of Documents and Settings.
After that I viewed Properties of Backups again - it was still owned by root! After a restart, it is still owned by root.
So I ran the command again, without the recursive option. This time it reported that ownership had been changed - but Properties continues to show it as belonging to root.
Now I have just tried again - $ sudo chown theo /media/Backups and the response is:
chown: cannot access /media/Backups: No such file or directory.
I run $ ls -a and get the contents of my home directory. $ cd ~/ doesn't give me the root directory as I believe it should.
I need access to Backups in order to paste a backup there!
Please help.
Today I read the manual for chown and ran the command: $ sudo chown -R theo /media/Backups
This resulted in a lengthy process which ran through all the files in that partition - mainly 2 backups of Documents and Settings.
After that I viewed Properties of Backups again - it was still owned by root! After a restart, it is still owned by root.
So I ran the command again, without the recursive option. This time it reported that ownership had been changed - but Properties continues to show it as belonging to root.
Now I have just tried again - $ sudo chown theo /media/Backups and the response is:
chown: cannot access /media/Backups: No such file or directory.
I run $ ls -a and get the contents of my home directory. $ cd ~/ doesn't give me the root directory as I believe it should.
I need access to Backups in order to paste a backup there!
Please help.