Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-77

Standard job JobSchedulerCleanupFiles deletes files only when they are writeable

    XMLWordPrintable

Details

    • Fix
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.3.2
    • None
    • None

    Description

      There is a test in the implementation of JobSchedulerCleanupFile "if tempFile.canWrite() " This is not right because the file may be readonly but the job could delete it. It is sufficient, when the directory is writeable (for example for the group). The correct test would be, whether the directory is writeable.

      Attachments

        Activity

          People

            al Andreas Liebert (Inactive)
            ur Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m