Author Topic: SYS0005: Access denied  (Read 4353 times)

Einar Lygre

  • Jr. Member
  • **
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 66
  • Karma: +0/-0
    • View Profile
SYS0005: Access denied
« on: January 10, 2016, 03:27:13 pm »
I am trying to delete a folder with lots of sub folders from an external backup disk (FAT32).  That works fine until I get an "SYS0005: Access denied" error message for one of the sub folders. All of the files in that sub folder is deleted, but the sub folder itself is not deleted, nor are the folders at higher levels. No attributes are set for the folder.
Another message is also displayed: Deleting objects... Collecting objects... Target: (that is empty), and at last a progress bar just stopping at 0%.
The folders was created with the backup program Easy Sync. The program crashed during the backup process while processing a JPG file. The file was partly copied to the backup drive and into the folder with the error message. I deleted that file manually, ok. And I now wonder if there is some "left overs" from that file that destroys the delete process.

How to delete it?

ivan

  • Hero Member
  • *****
  • Thank You
  • -Given: 2
  • -Receive: 52
  • Posts: 1316
  • Karma: +13/-0
    • View Profile
Re: SYS0005: Access denied
« Reply #1 on: January 10, 2016, 05:04:54 pm »
Open an OS/2 command window and type 'help sys0005' without the ' then hit enter and you will get a list of the probable causes and what to do about them.

Sergey Posokhov

  • Full Member
  • ***
  • Thank You
  • -Given: 2
  • -Receive: 6
  • Posts: 139
  • Karma: +0/-1
    • View Profile
    • OS/2 API Research
Re: SYS0005: Access denied
« Reply #2 on: January 10, 2016, 09:20:10 pm »
"SYS0005" is just error code from FAT32.IFS

Seems that there are lost data somewhere in FAT32.
Try CHKDSK, i.e.
chkdsk /F:0 D:
"/F:0" means "no corrections, only display information".
« Last Edit: January 10, 2016, 09:22:15 pm by Sergey Posokhov »

Sergey Posokhov

  • Full Member
  • ***
  • Thank You
  • -Given: 2
  • -Receive: 6
  • Posts: 139
  • Karma: +0/-1
    • View Profile
    • OS/2 API Research
Re: SYS0005: Access denied
« Reply #3 on: January 10, 2016, 09:22:54 pm »
"SYS0005" is just an error code from FAT32.IFS

Seems that there are lost data somewhere in FAT32.
Try CHKDSK, i.e.
chkdsk /F:0 D:
"/F:0" means "no corrections, only display information".

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 13
  • -Receive: 221
  • Posts: 3106
  • Karma: +53/-0
    • View Profile
Re: SYS0005: Access denied
« Reply #4 on: January 10, 2016, 09:44:14 pm »
Your FAT ot directory structure probably got damaged in the crash. Try chkdsk, might need to do it on Windows as our FAT32 chkdsk isn't the best. If that doesn't work, you might be able to fix with DFSee or you might have to format the volume.

Greg Pringle

  • Full Member
  • ***
  • Thank You
  • -Given: 6
  • -Receive: 2
  • Posts: 131
  • Karma: +0/-0
    • View Profile
Re: SYS0005: Access denied
« Reply #5 on: January 16, 2016, 12:29:16 pm »
I have found that running OS/2 check disk several times in a row will normally fix the problems. This was the way older unix check disk worked.