Opened 3 years ago

Last modified 3 years ago

#1002 closed defect

The release exporter should ignore directories and files that it has not permission to read — at Version 1

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Reggie v4.13
Component: net.sf.basedb.reggie Keywords:

Description (last modified by Nicklas Nordborg)

The release exporter is creating scripts for lining data files to files that already exists in earlier releases and for copying new files.

To be able to decide if a file should be linked or copied the exporter need to find out the files that already exists. It does this by executing several find commands. While this works fine in most cases there is a problem if the data folder has a directory that is not accessible by the current user. See the attached image.

It should be possible to write the find commands so that it ignore non-accessible files.

Change History (2)

comment:1 Changed 3 years ago by Nicklas Nordborg

Description: modified (diff)

Changed 3 years ago by Nicklas Nordborg

Attachment: permission-denied.png added
Note: See TracTickets for help on using tickets.