Cubytus
May 23rd, 2009, 06:19 PM
Hi to all,
This is a newbie-grade question, but still annoying to experience nonetheless.
I just moved to Ubuntu 9.04, but I guess this applies to any other Unices and Unix-likes.
The default install in Ubuntu is to put everything in the same partition, which is obviously undesirable when upgrade time comes. So since 7.10 that was on this computer, I set up a small partition for the OS, mounted as /, a very small partition for the swap, and a big partition for the data, mounted as /home.
With 9.04, I first set up a temporary administrator account that would be deleted later, as admin2, then I proceed to recreate the tarcum user that was there before, and logged out and back in.
I must have missed something because although I could enter the desktop, every file one it was marked as locked. Indeed, the command ls -ahl entered in the terminal confirmed that all these files were marked as pertaining to admin2 with permissions, I guess, 755 (readable but not editable to other people).
I successively did sudo chown tarcum -R ~ ; sudo chgrp tarcum -R ~ ; sudo chmod 644 -R ~, then I logged out and back in.
Now, I get this error message (translated from French):
File $HOME/.dmrc has been ignored. This doesn't allow you to save session and default language. File should be owned by user and have 644 permissions. User directory must be owned by the user and must not be accessible in writing to other users.
I then went to the /home directory in the Terminal, and did (no -R here!) sudo chmod 755 tarcum.
The session does start and appears to run correctly, but I know that security issues are around the corner.
I admit, this is probably the worst method available to solve the problem since absolutely no distinction is made between ubuntu-read hidden files (."something"), but contrary to Mac OS X, I don't know of any utility that can repair permissions in one click in Ubuntu. Does such an utility exist? Or better yet, an assistant that would ask plain questions about wether I want to allow people and groups X to access folder Z?
Thanks for yur patience :)
This is a newbie-grade question, but still annoying to experience nonetheless.
I just moved to Ubuntu 9.04, but I guess this applies to any other Unices and Unix-likes.
The default install in Ubuntu is to put everything in the same partition, which is obviously undesirable when upgrade time comes. So since 7.10 that was on this computer, I set up a small partition for the OS, mounted as /, a very small partition for the swap, and a big partition for the data, mounted as /home.
With 9.04, I first set up a temporary administrator account that would be deleted later, as admin2, then I proceed to recreate the tarcum user that was there before, and logged out and back in.
I must have missed something because although I could enter the desktop, every file one it was marked as locked. Indeed, the command ls -ahl entered in the terminal confirmed that all these files were marked as pertaining to admin2 with permissions, I guess, 755 (readable but not editable to other people).
I successively did sudo chown tarcum -R ~ ; sudo chgrp tarcum -R ~ ; sudo chmod 644 -R ~, then I logged out and back in.
Now, I get this error message (translated from French):
File $HOME/.dmrc has been ignored. This doesn't allow you to save session and default language. File should be owned by user and have 644 permissions. User directory must be owned by the user and must not be accessible in writing to other users.
I then went to the /home directory in the Terminal, and did (no -R here!) sudo chmod 755 tarcum.
The session does start and appears to run correctly, but I know that security issues are around the corner.
I admit, this is probably the worst method available to solve the problem since absolutely no distinction is made between ubuntu-read hidden files (."something"), but contrary to Mac OS X, I don't know of any utility that can repair permissions in one click in Ubuntu. Does such an utility exist? Or better yet, an assistant that would ask plain questions about wether I want to allow people and groups X to access folder Z?
Thanks for yur patience :)