PDA

View Full Version : [ubuntu] .dmrc permissions change upon login



UbuJules440
February 19th, 2009, 04:17 PM
Hi all,

I was recently trying to lock down my home directory and accidentally set it 0777 - stupid, I know.

Anyway, on the next login I was greeted with an error about .dmrc being ignored - this same error message pointed out that my $HOME shouldn't be readable by other users. So I quickly fixed the $HOME permissions as well as taking the error message's advice about setting .dmrc to 644.

I logged out and back in, and I was browsing around my home directory and checking permissions and noticed that .dmrc was now 600. As a test, I reset it back to 644, logged out and back in and it's back to 600.

I'm curious as to why and how the file's permissions get changed.

asuastrophysics
June 18th, 2009, 01:14 AM
i have the exact same problem. apparently nobody else has any clue. so it goes with the community.

the simplest solution would be to run a script before login changing the permissions of the .dmrc file. that's the only solution i have come up with. i havent made a script yet, but when i do, i'll post it.