• work path

    From faeychild@2:250/1 to All on Fri Aug 13 00:51:16 2021


    I notice that all program "Properties" have a 'Work Path" which is
    never filled in.
    How important is it
    Should the path be defined.
    Does leaving it blank affect the operation
    Can it be a temp file/partition

    regards

    --
    faeychild
    Running plasmashell 5.20.4 on 5.10.41-desktop-1.mga8 kernel.
    Mageia release 8 (Official) for x86_64 installed via Mageia-8-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.22 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Fri Aug 13 02:31:44 2021
    On Thu, 12 Aug 2021 19:51:16 -0400, faeychild <faeychild@nomail.afraid.org> wrote:
    I notice that all program "Properties" have a 'Work Path" which is
    never filled in.
    How important is it
    Should the path be defined.
    Does leaving it blank affect the operation
    Can it be a temp file/partition

    It's used to make the selected directory the present working directory the program
    inherits in it's starting environment (PWD variable).

    If the program doesn't use the present working directory passed to it, then setting
    it's value does nothing other then wasting a tiny amount of space and your time.

    Regards, Dave Hodgins

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

    --- MBSE BBS v1.0.7.22 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Fri Aug 13 03:50:15 2021
    On 13/8/21 11:31 am, David W. Hodgins wrote:

    it's value does nothing other then wasting a tiny amount of space and
    your time.

    Regards, Dave Hodgins


    Cleared that up.
    Thanks Dave.,

    --
    faeychild
    Running plasmashell 5.20.4 on 5.10.41-desktop-1.mga8 kernel.
    Mageia release 8 (Official) for x86_64 installed via Mageia-8-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.22 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Tue Aug 24 19:02:46 2021
    On 13/8/21 12:50 pm, faeychild wrote:
    On 13/8/21 11:31 am, David W. Hodgins wrote:

    it's value does nothing other then wasting a tiny amount of space and
    your time.

    Regards, Dave Hodgins


    Cleared that up.
    Thanks Dave.,

    So..what ids the default work path? If I start a program with a command
    by a full path to /usr/bin, starting from my current directory, which is
    not writable, what is the "work path" in that case?

    --- MBSE BBS v1.0.7.22 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Tue Aug 24 21:51:24 2021
    On Tue, 24 Aug 2021 14:02:46 -0400, Doug Laidlaw <laidlaws@hotkey.net.au> wrote:
    So..what ids the default work path? If I start a program with a command
    by a full path to /usr/bin, starting from my current directory, which is
    not writable, what is the "work path" in that case?

    If the PWD has not been set and you try to use it, it starts as $HOME. The value for
    $HOME is set in /etc/passwd.

    From "man 5 passwd" ...
    directory This is the user's home directory: the initial directory where the user is placed after logging in. The value in this field is used to set the HOME environment variable.

    Any time you run the cd command, it changes the value in PWD.

    Regards, Dave Hodgins

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

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