Click to See Complete Forum and Search --> : Problem with permissions (I think)


elgolferisto
05-13-2003, 10:44 PM
Although this isn't my only current problem, I think this might be a good place to start.
I am using Mandrake v.8.2. I noticed recently that many users have permission problems that were not there before. For example, when attempting to use Midnight Commander, the following error message is displayed:

[wayne@linux home]$ mc
chmod: changing permissions of `/home/wayne/.mc/tmp': Operation not permitted
bash: /home/wayne/.mc/tmp/mc-3217: Permission denied
cat: /home/wayne/.mc/tmp/mc-3217: Permission denied
rm: cannot remove `/home/wayne/.mc/tmp/mc-3217': Permission denied

I cannot remember doing anything relating to permissions lately, and although I can't pinpoint exaclty when the problem started, some strange things started happening after I attempted to restart the server using ssh. Thanks for any help.

error27
05-14-2003, 02:53 AM
basically to the computer you are just a number. that number is in /etc/passwd.

type: ls -la /home/wayne/

see what the permisions are.

use: chown -R wayne.wayne /home/wayne

to set yourself as the owner of all the files in your dir.

elgolferisto
05-14-2003, 10:43 AM
Thanks a lot. That seemed to work. I have no idea how the permissions got changed, but as I said before more than one of these strange things has been happening.