"Operation not permitted" error logging in to Ubuntu Dapper Drake
Hi there, I'm fairly new to all this Linux business, Ubuntu doubly so, so I hope this is the right place to post this.
Whenever I try to log on, I think it does actually log me in, but then instantly logs me out again, dumping me back at the log in screen. This is what it says: Quote:
Quote:
Quote:
I have no idea how to make it work, any advice is greatly appreciated, thank you |
why not trying just to make it xritable only by the user?
chmod 700 .gnome2_private (as it seems to be trying to do) |
Did you try to make /home a FAT partition? That "Operation Not Permitted" error is exactly the sort of error that would occur with a FAT partition because FAT doesn't support Unix style file permissions (like "700").
You need to make /home an ext3 or some other *nix style file system (like XFS, ReiserFS, etc.). |
Thanks guys,
I tried what you suggested, Agrouf, and felt like a bit of a fool when I read it :P But alas, it comes up with the exact same message. IsaacKuo, the drive is ext3, though I should probably have already mentioned, it's a seperate partition which already had quite a lot of stuff on it before I installed Ubuntu. I'm rather glad I didn't make it FAT32 now, as the thought did cross my mind when I made it :) |
Anyone else want to have a crack at it? At all?
Or should I just go back to FC? That worked okay, at least it let me log in. |
If you're using an already existing /home, and the rest of the Ubuntu install was a clean install, then I'm guessing that the old /home had some different user and/or group numbers. Try doing this:
cd /home sudo chown -R myuserid:mygroupid myuserid/ This will force everything in your home directory to be owned by you. |
Sorry to be a thickie, but... What are my userid and usergroup?
In any event, I solved the problem the nooby way of just reinstalling Ubuntu and mounting that partition as something other than /home. Now you're probably going to tell me I didn't need to reinstall, but at the time, after yonks of Windows-ness, it semmed logical :| Thanks for all your help :) |
In Linux as well as other Unix-like operating systems, each user and group is assigned numbers. On the ext3 file system, the owning user and group is stored by number, rather than name. If you install a new OS, the default user/group numbers might not be the same.
If you do a detailed file listing with "ls -l", then it will show the user:group by name, but the underlying data is actually the number. (It will actually only show the name if that number corresponds to an existing user/group. If not, then it will show the number.) |
All times are GMT -5. The time now is 08:33 AM. |