octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50994] package installation into symlinked di


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #50994] package installation into symlinked directory may fail
Date: Wed, 10 May 2017 10:54:24 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?50994>

                 Summary: package installation into symlinked directory may
fail
                 Project: GNU Octave
            Submitted by: i7tiol
            Submitted on: Wed 10 May 2017 02:54:23 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Olaf Till
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

scripts/pkg/private/install.m, subfunction copy_files, line 507:

        && ! strcmp (fullfile (desc.dir, getarch ()), octfiledir))

compares strings to check if directories are identical, which may (did for me)
fail for symlinks. Should use the shells '-ef' comparison or the 'realpath'
command, don't know which is better.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50994>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]