Re: base-files problem

2012-02-16 Thread René Berber
On 2/16/2012 4:14 PM, David Sastre Medina wrote: > PS1 is set and exported in /etc/profile Which was also replaced. >> I also lost PROMPT_COMMAND which also showed the current >> directory. > > The default PROMPT_COMMAND is set (commented) in skeletal > .bash_profile to 'history -a', which has

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 05:07:40PM -0500, Ken Brown wrote: > On 2/16/2012 4:24 PM, Angelo Graziosi wrote: > >As normal user (not root) > > > >$ ls -lrt /etc/defaults/etc/skel/ > >ls: impossibile aprire la directory /etc/defaults/etc/skel/: Permission > >denied > > > >As root > > > >$ ls -lrt /etc/d

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 03:02:16PM -0600, René Berber wrote: > On 2/16/2012 2:41 PM, David Sastre Medina wrote: > and the files where > not deleted, just changed in a way I no longer had a PS1. PS1 is set and exported in /etc/profile > I also lost > PROMPT_COMMAND which also showed the current di

Re: base-files problem

2012-02-16 Thread Ken Brown
On 2/16/2012 4:24 PM, Angelo Graziosi wrote: As normal user (not root) $ ls -lrt /etc/defaults/etc/skel/ ls: impossibile aprire la directory /etc/defaults/etc/skel/: Permission denied As root $ ls -lrt /etc/defaults/etc/skel/ totale 0 and $ ls -lrt /etc/defaults/etc/ [...] drwxrws---+ 1 root

Re: base-files problem

2012-02-16 Thread Angelo Graziosi
Il 16/02/2012 22.24, Angelo Graziosi ha scritto: After the upgrade to 4.0-9, I have $ ls -lrt /etc/skel/ totale 0 $ ls -lrt /etc/ [...] -rw-r--r-- 1 root root 6994 16 feb 20.07 profile -rw-r--r-- 1 root root 1116 16 feb 20.07 bash.bashrc -rw-r--r-- 1 root root 856 16 feb 20.07 bash.bash_logout

Re: base-files problem

2012-02-16 Thread Angelo Graziosi
After the upgrade to 4.0-9, I have $ ls -lrt /etc/skel/ totale 0 $ ls -lrt /etc/ [...] -rw-r--r-- 1 root root 6994 16 feb 20.07 profile -rw-r--r-- 1 root root 1116 16 feb 20.07 bash.bashrc -rw-r--r-- 1 root root 856 16 feb 20.07 bash.bash_logout drwxr-xr-x 1 root Nessuno

Re: base-files problem

2012-02-16 Thread René Berber
On 2/16/2012 2:41 PM, David Sastre Medina wrote: > I have just updated a box from base-files-4.0-6 to 4.0-9 and > everything worked as expected. I tried both with locally modified > and unmodified skel files. > > $ grep base-files /etc/defaults/etc/skel/.* > /etc/defaults/etc/skel/.bash_profile

Re: base-files problem

2012-02-16 Thread David Sastre Medina
On Thu, Feb 16, 2012 at 12:22:25PM -0600, René Berber wrote: > Hi, > > The changes in base-files deleted everything from /etc/skel, I > re-installed 4.0-9 and still nothing. > I can see in the package list that there should be the usual files > there, did some post-install script deleted those fil

base-files problem

2012-02-16 Thread René Berber
Hi, The changes in base-files deleted everything from /etc/skel, I re-installed 4.0-9 and still nothing. I can see in the package list that there should be the usual files there, did some post-install script deleted those files? Anyone seen the same problem? (i.e. your bash prompt changed, no lo