Revision 24976,
500 bytes
checked in by jdreed, 14 years ago
(diff) |
In xsession:
* Don't use dpkg-query because it slows logins down; instead ship actual
scripts in /usr/share and source them (Trac #778)
|
Rev | Line | |
---|
[24976] | 1 | # This file is sourced by Xsession(5), not executed. |
---|
| 2 | |
---|
| 3 | if [ afs = "$DEBATHENA_HOME_TYPE" ] && \ |
---|
| 4 | stat -L --format='%A' "$HOME" | egrep -q '^(.....w|........w)'; then |
---|
| 5 | hm=$(stat -L --format='%a' "$HOME") |
---|
| 6 | message "Your home directory is mode $hm, probably because it was created" \ |
---|
| 7 | "a long time ago. You likely received a spurious error dialog about" \ |
---|
| 8 | ".dmrc as a result of the mode bits on your home directory. To fix this" \ |
---|
| 9 | "condition, you can run: chmod 755 \$HOME" |
---|
| 10 | unset hm |
---|
| 11 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.