strange message at login
Getting this message right after I enter my password at login:
Quote:
I used chmod 644 .dmrc, that made no difference. I had installed 2 programs right before this started, Gnome commander, and K3b. I uninstalled them both, no difference. It does not seem to make any difference in operations, but it bothers me to have that come up every time I boot up. Does anybody know how to fix this problem? Thanks in advance. |
you need to chmod
./dmrc |
I assume that's a typo: $home./dmrc would expand to a file named dmrc in a directory named something like /home/user./ - which likely doesn't exist. Try either /home/user/.dmrc or (as repo suggests) just ./dmrc in your home directory.
If you have chmod'ed the file and it made no difference, it seems likely that the file has changed ownership somehow. You can see the user who owns the file (with other details) by running Code:
ls -ld ~/.dmrc If the ownership is wrong you can fix it with Code:
chown $USER ~/.dmrc Code:
sudo chmod go-w ~ && sudo chown $USER ~ |
rjlee, thank you for your informative and helpful answer.Problem is solved.
Would you please explain what this line does? Code:
sudo chmod go-w ~ && sudo chown $USER ~ sudo twice in same command? and no idea what &&, or ~ means here. Thanks again |
sudo lets you run commands as root.
chmod go-w says remove write permission from the file's group and world ~ signifies the current user's home directory && is an and operator that lets you run multiple commands chown $USER makes user the owner of the user's home directory |
go-w is a way to specify permissions with chmod command. It means: for the group to which the user belong (g) and all the others (o) remove (-) the write permission (w). This means that if you had something like
Code:
drwxrwxrwx |
Admiral Beotch and colucix, thank you for the clear explanations. Every little bit helps in learning the sometimes confusing Linux world.
|
All times are GMT -5. The time now is 04:41 PM. |