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.

File access/permission issues?

Featured Replies

I finally got all of my drives installed and started building up more data and making changes here and there. Now all of sudden I have ran into some kind of permission thing that I cannot figure out. Let me explain what I think happened and then you tell me how bad I screwed up.

I think this started after I tried to rename a share. Eventually I noticed that it actually created two folders on the disk but was only showing the one share in the interface, I guess it created sym/hard links. The remaining files left on the original share I moved over to the newly renamed share and everything seemed fine at first but now I am here.

 

Troubleshooting:

From windows or linux both, I cannot view any files within the bottom level of the folder structure. At first I thought this was just a permissions issue so I searched and found the New Permissions setting within the web interface and ran that, multiple times now. This did not resolve the issue and I have ran it multiple times, I have verified the group/user to be nobody/user how it supposed to be and the rwx were set correctly (copy/pasted from ls -l results drwxrwxrwx  2 nobody users ). Next I found where people are specifically having issues with Win10, I tried finding edit policy settings but win11 it is missing, good job MS. I also tried adding a new credentials like the end of that post suggested and this did not change anything. I then thought if it is just windows then screw 11 I will wipe my laptop, I first tested from a VM to try and browse the folder structure all the way down to the files and I could not in linux smb share from gui either. I am however always able to view the full folder structure but only folders nothing within them unless it is more folders. After many days of going back and forth with this issue I finally thought that I really did screw up and finally, last ditch effort, copied a file to a second disk by creating a new share and forcing it on the other disk and tested the new share function. It worked success but wait I don't want to restructure and copy/move everything and have to resetup plex and all that. Oh by the way I forgot to mention Plex is able to read these files and I am able to view them from the terminal of unraid. The unraid server can see them and the files are there but it acts like they are gone when trying to browse them under the smb shares. Also other shares are not affected like this only the share that was renamed.

 

My question is, do I have to move everything or is there an easy way to fix this? My google foo has run out because of my limited knowledge of linux. Please help

  • Community Expert

Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread.

  • 3 weeks later...
  • Author

Please take a look and let me know what your best guess is on why all of a sudden I can access some files and not others? Did I lose it?

 

This fresh copy of the log should show that I was able to access some and in multiple folders. I was able to create/move/edit in both win and terminal of unraid.

Thank you.

morty-diagnostics-20210909-2107.zip

  • 2 weeks later...
  • Author

More detailed notes regarding what is happening. I have attached a log and transcript of commands ran to duplicate the issue. 

 

First I use the following command to copy the full directory to a separate share separate drive. I test by trying to open the share, that I am able to browse on Win10 and I am also using Ubuntu 20.10. I see the new folder but get the general message about the file possibly being moved or deleted, Ubuntu 20.10, with a similar message, but the single file moved works.

root@morty:/mnt/disk1/media/pictures# cp -Rv phone/Samsung\ SM-G973U/Camera/ /mnt/disk3/temp/

 

Then I run the following command that moves a file in the folder I moved above and moved to the same temp folder.

root@morty:/mnt/disk1/media/pictures# cp -Rv phone/Samsung\ SM-G973U/Camera/20210719_211501.jpg /mnt/disk3/temp/

 

I saved the transcript of commands to confirm, around 0808 pm CST. The diag log was exported shortly after, the time stamp is in the file name.

 

Lastly the file permissions of the files described above.

root@morty:/mnt/disk1/media/pictures# ls -lah phone/Samsung\ SM-G973U/Camera/
total 220M
drwxrwxrwx 2 nobody users 4.0K Jul 23 19:42 ./
drwxrwxrwx 4 nobody users   51 Jul 22 21:32 ../
-rw-rw-rw- 1 nobody users 1.8M Jul 19 21:15 20210719_211501.jpg
-rw-rw-rw- 1 nobody users 1.9M Jul 19 21:15 20210719_211505.jpg
-rw-rw-rw- 1 nobody users 5.6M Jul 19 21:18 20210719_211857.jpg
-rw-rw-rw- 1 nobody users 5.3M Jul 19 21:21 20210719_212119.jpg
-rw-rw-rw- 1 nobody users 5.6M Jul 19 21:22 20210719_212257.jpg
-rw-rw-rw- 1 nobody users 9.3M Jul 19 21:26 20210719_212600.jpg
-rw-rw-rw- 1 nobody users 947K Jul 19 21:28 20210719_212814.jpg
-rw-rw-rw- 1 nobody users 894K Jul 19 21:28 20210719_212844.jpg
-rw-rw-rw- 1 nobody users 633K Jul 19 21:29 20210719_212858.jpg
-rw-rw-rw- 1 nobody users 5.7M Jul 19 21:33 20210719_213342.mp4
-rw-rw-rw- 1 nobody users 4.3M Jul 19 21:33 20210719_213352.jpg
-rw-rw-rw- 1 nobody users 4.3M Jul 19 21:33 20210719_213353.jpg
-rw-rw-rw- 1 nobody users 3.8M Jul 19 21:34 20210719_213422.mp4
-rw-rw-rw- 1 nobody users 6.5M Jul 22 07:27 20210722_072750.jpg
-rw-rw-rw- 1 nobody users  55M Jul 22 21:38 _temp_60a01de8-e438-4ba3-a1b5-bb8f61f6ec13.tmp
-rw-rw-rw- 1 nobody users 7.0M Jul 23 19:42 _temp_ce53ad9e-ecb1-4c31-9b9d-fcfefa85bcd0.tmp
-rw-rw-rw- 1 nobody users 103M Jul 23 05:57 _temp_cf648b20-bb26-4416-8e54-1055fe12a7da.tmp

 

I really need some direction on this issue. I do think I have found some corrupt files during this discovery but most of the others with this issue are still viewable with the manipulation described above. Thank you in advance!

morty-diagnostics-20210921-2011.zip 0808pmcst-log.txt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.