Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folders appear as a files

Featured Replies

I noticed about a day ago that two folders on separate discs are now being recognized as a file on the filesystem. Both of the folders have the same name ('Misc') and they appear to be the appropriate size for the files they are supposed to contain. I tried running reiserfsck on both drives but its reporting no corruptions or errors. I can't seem to find any type of command that would make the system recognize the files as the folders they are supposed to be, and I can't rebuild the drives as I tried restarting the system to see if the issue was maybe temporary and on reset the system started parity resync.

 

Any help would be appreciated.

TIA.

I noticed about a day ago that two folders on separate discs are now being recognized as a file on the filesystem. Both of the folders have the same name ('Misc') and they appear to be the appropriate size for the files they are supposed to contain. I tried running reiserfsck on both drives but its reporting no corruptions or errors. I can't seem to find any type of command that would make the system recognize the files as the folders they are supposed to be, and I can't rebuild the drives as I tried restarting the system to see if the issue was maybe temporary and on reset the system started parity resync.

 

Any help would be appreciated.

TIA.

where are they showing as "files" ??? using which file browser ???

 

To see their actual status, type

ls -l /mnt/user/sharename/directorypath

 

Where sharename and directorypath are those to the directory in question.

 

If it is a directory it will have a leading "d" in the permissions listing, if a file there will be no "d"

 

Joe L.

  • Author

They're showing as files when I telnet into the system

 

1st disk

-rwxrwxrwx 1 1000 1000 7044693483 Aug 30  2009 Misc*

drwxrwxrwx 2 1000 1000      5984 Aug 16 21:09 Movies/

 

2nd disk

-rwxrwxrwx  1 1000 1000 8533919144 Apr  2  2008 Misc*

drwxr-xr-x  2 root root      3704 Aug 16 21:09 Movies/

drwxrwxrwx  4 1000 1000        248 Aug 15 20:52 Music/

drwxrwxrwx  5 1000 1000        200 Aug 15 20:52 Pictures/

drwxrwxrwx 36 1000 1000      1176 Aug 15 22:01 TV\ Shows/

 

as well as when I export the drives via SMB

 

Also appears as files when I boot the drives up in a linux box and mount the drives (where I ran reiserfs on the drives)

Wow, something's not right. They look to be two 6.56 GB and 7.95 GB files, almost as if something overwrite the directory with 2 DVD ISOs.

 

 

  • Author

The size of the two folders appear to be just the total size of the files that are contained within their respective 'Misc' folders. I (hope) the issue is that the permissions somehow were corrupted or changed. I've run memtest just in case but there were no errors there as well.

 

Anyone know of a way to edit the permissions manually? Everything I see indicates that chmod and its ilk don't allow changing the 'type' permission (with good reason) for a file/folder, but I'm hoping that there may be a way to edit the 'file' to add the directory permission to the two files again. 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.