[25486] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25016 - trunk/debathena/debathena/xsession/debian

daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Thu Mar 10 19:09:23 2011

Date: Thu, 10 Mar 2011 19:09:16 -0500 (EST)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Jonathan D Reed <jdreed@mit.edu>
cc: source-commits@mit.edu
In-Reply-To: <201103102330.p2ANUKxs008816@drugstore.mit.edu>
Message-ID: <alpine.DEB.2.00.1103101909150.24028@lunatique.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

ACK
-- 
Geoffrey Thomas
geofft@mit.edu

On Thu, 10 Mar 2011, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2011-03-10 18:30:20 -0500 (Thu, 10 Mar 2011)
> New Revision: 25016
>
> Modified:
>   trunk/debathena/debathena/xsession/debian/changelog
>   trunk/debathena/debathena/xsession/debian/debathena-homedir-mode.sh
> Log:
> In xsession:
>  * debathena-homedir-mode now offers to run the command for you (Trac
>    #387)
>
>
> Modified: trunk/debathena/debathena/xsession/debian/changelog
> ===================================================================
> --- trunk/debathena/debathena/xsession/debian/changelog	2011-03-10 19:23:36 UTC (rev 25015)
> +++ trunk/debathena/debathena/xsession/debian/changelog	2011-03-10 23:30:20 UTC (rev 25016)
> @@ -1,3 +1,10 @@
> +debathena-xsession (1.17.3) unstable; urgency=low
> +
> +  * debathena-homedir-mode now offers to run the command for you (Trac
> +    #387)
> +
> + -- Jonathan Reed <jdreed@mit.edu>  Thu, 10 Mar 2011 18:29:38 -0500
> +
> debathena-xsession (1.17.2) unstable; urgency=low
>
>   * Incoprorate new DEBATHENA_HOME_TYPE values into check-afs.sh and
>
> Modified: trunk/debathena/debathena/xsession/debian/debathena-homedir-mode.sh
> ===================================================================
> --- trunk/debathena/debathena/xsession/debian/debathena-homedir-mode.sh	2011-03-10 19:23:36 UTC (rev 25015)
> +++ trunk/debathena/debathena/xsession/debian/debathena-homedir-mode.sh	2011-03-10 23:30:20 UTC (rev 25016)
> @@ -3,9 +3,14 @@
> if [ afs = "$DEBATHENA_HOME_TYPE" ] && \
>   stat -L --format='%A' "$HOME" | egrep -q '^(.....w|........w)'; then
>   hm=$(stat -L --format='%a' "$HOME")
> -  message "Your home directory is mode $hm, probably because it was created" \
> -    "a long time ago.  You likely received a spurious error dialog about" \
> -    ".dmrc as a result of the mode bits on your home directory.  To fix this" \
> -    "condition, you can run: chmod 755 \$HOME"
> +  if zenity --question --text="Your home directory is mode $hm, probably \
> +because it was created a long time ago.  You likely received a spurious \
> +error dialog about .dmrc as a result of the mode bits on your home \
> +directory.  To fix this condition, you can run:
> +        chmod 755 \$HOME
> +
> +Would you like to run this command now?"; then
> +      chmod 755 $HOME
> +  fi
>   unset hm
> fi
>
>

home help back first fref pref prev next nref lref last post