• Using /etc/skel

    From Doug Laidlaw@2:250/1 to All on Sun Oct 27 02:48:56 2019
    Bits gave me a procedure for creating a fresh clean /home/doug
    directory. It worked then, but doesn't work now.

    One step is to copy in the directory structure from /etc/skel, but in
    both Mageia 7 and 8, the whole contents of /etc/skel is one empty /tmp
    folder.

    What has changed?

    Doug.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Oct 27 02:59:45 2019
    On Sat, 26 Oct 2019 22:48:56 -0400, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:

    Bits gave me a procedure for creating a fresh clean /home/doug
    directory. It worked then, but doesn't work now.

    One step is to copy in the directory structure from /etc/skel, but in
    both Mageia 7 and 8, the whole contents of /etc/skel is one empty /tmp folder.

    On both a Mageia 7 system upgraded from 6, and on a cleanly installed Mageia 7 system, /etc/skel contains files such as .bashrc on other hidden files.

    Do you have the showing of hidden files turned off, or copied it's contents using a procedure that excluded hidden files?

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Oct 27 03:34:08 2019
    On Sun, 27 Oct 2019 13:48:56 +1100, Doug Laidlaw wrote:
    Bits gave me a procedure for creating a fresh clean /home/doug
    directory. It worked then, but doesn't work now.

    One step is to copy in the directory structure from /etc/skel, but in
    both Mageia 7 and 8, the whole contents of /etc/skel is one empty /tmp folder.

    What has changed?

    Procedure used by the biological unit between the keyboard and chair.


    List of files in /etc/skel after a clean install follows:

    # cat /var/local/save/skel_dir.list_vinstall
    ..bash_completion
    ..bash_logout
    ..bash_profile
    ..bashrc
    ..mozilla
    ..screenrc
    tmp


    install snippet of code to get list of files in /etc/skel follows:

    _fn=$_save_dir/skel_dir.list_vinstall
    if [ ! -e $_fn ] ; then
    ls -1 --almost-all /etc/skel/ > $_fn
    fi

    Go ahead and check yours, again, using
    ls -1 --almost-all /etc/skel/

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Sun Oct 27 04:16:45 2019
    On 27/10/19 2:34 pm, Bit Twister wrote:
    On Sun, 27 Oct 2019 13:48:56 +1100, Doug Laidlaw wrote:
    Bits gave me a procedure for creating a fresh clean /home/doug
    directory. It worked then, but doesn't work now.

    One step is to copy in the directory structure from /etc/skel, but in
    both Mageia 7 and 8, the whole contents of /etc/skel is one empty /tmp
    folder.

    What has changed?

    Procedure used by the biological unit between the keyboard and chair.


    List of files in /etc/skel after a clean install follows:

    # cat /var/local/save/skel_dir.list_vinstall
    .bash_completion
    .bash_logout
    .bash_profile
    .bashrc
    .mozilla
    .screenrc
    tmp


    install snippet of code to get list of files in /etc/skel follows:

    _fn=$_save_dir/skel_dir.list_vinstall
    if [ ! -e $_fn ] ; then
    ls -1 --almost-all /etc/skel/ > $_fn
    fi

    Go ahead and check yours, again, using
    ls -1 --almost-all /etc/skel/



    You are both right. So, what creates the visible structure: Downloads, Documents, etc.?

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Oct 27 04:57:44 2019
    On Sun, 27 Oct 2019 15:16:45 +1100, Doug Laidlaw wrote:
    On 27/10/19 2:34 pm, Bit Twister wrote:
    On Sun, 27 Oct 2019 13:48:56 +1100, Doug Laidlaw wrote:
    Bits gave me a procedure for creating a fresh clean /home/doug
    directory. It worked then, but doesn't work now.

    One step is to copy in the directory structure from /etc/skel, but in
    both Mageia 7 and 8, the whole contents of /etc/skel is one empty /tmp
    folder.

    What has changed?

    Procedure used by the biological unit between the keyboard and chair.


    List of files in /etc/skel after a clean install follows:

    # cat /var/local/save/skel_dir.list_vinstall
    .bash_completion
    .bash_logout
    .bash_profile
    .bashrc
    .mozilla
    .screenrc
    tmp


    install snippet of code to get list of files in /etc/skel follows:

    _fn=$_save_dir/skel_dir.list_vinstall
    if [ ! -e $_fn ] ; then
    ls -1 --almost-all /etc/skel/ > $_fn
    fi

    Go ahead and check yours, again, using
    ls -1 --almost-all /etc/skel/



    You are both right. So, what creates the visible structure: Downloads, Documents, etc.?

    Desktop Environment startup script.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Oct 27 05:06:17 2019
    On Sun, 27 Oct 2019 00:57:44 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

    You are both right. So, what creates the visible structure: Downloads,
    Documents, etc.?

    Desktop Environment startup script.

    Specifically xdg-user-dirs-update.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.12A (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)