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.

[SOLVED] upgraded to 5.0 RC4 from 4.7 - windows 7 can't access unraid

Featured Replies

I just upgraded from 4.7 to 5.0 RC 4. I added a new user (different from root), and also ran the new permissions script in the utils panel.

 

I can see unraid in my network places, but when I try to go in, I see what's in the attached JPEG. I also try to map the drive via a batch file using the below and I get "access denied". I have NOT set a password in the users panel.

 

Attached is my syslog and a screenshot of the issue. Any help?

 

 

 

syslog.zip

win7_unraid_5_rc4.jpg.93a68fd27d2fa5b3a9eed533f05067dc.jpg

  • Author

Look in the Credentials control panel.

 

not seeing that. Where is that in version 5.0 RC4?

  • Author

This is a Windows control panel.

 

And I'm looking for what in there?

Double check that the workgroup names match (including capitalization) on both the server and your windows machine. 

Reboot your windows machine.

  • Author

Double check that the workgroup names match (including capitalization) on both the server and your windows machine.

 

The workgroup names do match. MILKYWAY in all caps on both win7 and in the unraid settings > SMB.

 

I also rebooted my windows 7 machine and still get the same. I can see "UNRAID" in my network. I can also click into the top level UNRAID folder to see all my disks (disk 1,2,3, etc. as well as "flash" and "unraid"), but I can't get path that to get into any folders beneath that top level.

 

if I do this script from a telnet as suggested in other posts, will this "reset" my permissions, or is there another way of clearing all unraid permissions to make it completely public?

 

newperms /mnt/user/unraid/

 

 

What is your security setting in unRAID?  You can check by clicking on 'Shares', then click on the name of the share-- it's in blue on my interface. Scroll down to 'SMB Security Settings'.  I have mine set to 'Export' and 'Public'. 

  • Author

What is your security setting in unRAID?  You can check by clicking on 'Shares', then click on the name of the share-- it's in blue on my interface. Scroll down to 'SMB Security Settings'.  I have mine set to 'Export' and 'Public'.

 

Both NFS Security Settings and SMB Security Settings are set as:

 

Export: Yes

 

Security: Public

 

Per another thread on this forum I did activate NFS features in windows 7 Ultimate and also added the 2 reg keys below. Should I turn off NFS in unraid, disable NFS in windows 7, and then remove the 2 registry entries I did?

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default

 

AnonymousGid: DWORD = 0

 

AnonymousUid: DWORD = 0

 

I'll try reverting back the NFS features and the reg keys unless anyone thinks I should keep them in.

This is a Windows control panel.

 

And I'm looking for what in there?

 

Saved credentials for the server.

  • Author

This is a Windows control panel.

 

And I'm looking for what in there?

 

Saved credentials for the server.

 

Nothing present there for unraid at all.

Telnet into your unRAID server. 

Login as 'root' and use your unRAID password

You will now be operating in the 'command mode' and will have to type everything in.

 

Type (replacing 'Media' with the share name--Capitalization is IMPORTANT):        ls -al ../mnt/user/Media

 

This will give a listing of everything in the folder 'Media'.  Typical output will look like this:

 

drwxrwx--- 1 nobody users 200 2012-05-02 19:46 ./

drwxrwx--- 1 nobody users 104 2012-05-02 19:42 ../

drwxrwx--- 1 nobody users 264 2012-06-08 17:38 Blu_ray\ Movies/

drwxrwx--- 1 nobody users 392 2012-05-03 23:42 DVD\ Movies/

drwxrwx--- 1 nobody users 200 2012-05-03 10:36 Family\ DVD\ Videos/

drwxrwx--- 1 nobody users 136 2012-05-04 15:07 Music/

 

The first column is the  permissions: the first 'd' means that the entry is a directory.  Following that are three groups of three letters for access permissions for the owner, for a defined user group, and the  final one for public.  (the 'r' means read permission, 'w' write permission and the 'x' for execute permission, '-' means permission is denied.)  Notice that public is denied permission!!!  Only the owner and group are given permission.

 

"nobody" is the the owner and "users" is the group.  To gain access to these files, you MUST be either the owner (nobody) or a member of the group (users).  I believe that this owner and group have a special meaning to unRAID.  All unRAID shares that available to the outside world without a login and password must have this owner and group assigned to them.

 

Check to see that you have this owner and group and the permission string as shown.  (My install is pure villain with with no changes to increase security.) 

 

EDIT:  You can also do all of the above from the console (Keyboard and monitor connected directly to the server)

 

  • Author

Telnet into your unRAID server. 

Login as 'root' and use your unRAID password

You will now be operating in the 'command mode' and will have to type everything in.

 

Type (replacing 'Media' with the share name--Capitalization is IMPORTANT):        ls -al ../mnt/user/Media

 

This will give a listing of everything in the folder 'Media'.  Typical output will look like this:

 

drwxrwx--- 1 nobody users 200 2012-05-02 19:46 ./

drwxrwx--- 1 nobody users 104 2012-05-02 19:42 ../

drwxrwx--- 1 nobody users 264 2012-06-08 17:38 Blu_ray\ Movies/

drwxrwx--- 1 nobody users 392 2012-05-03 23:42 DVD\ Movies/

drwxrwx--- 1 nobody users 200 2012-05-03 10:36 Family\ DVD\ Videos/

drwxrwx--- 1 nobody users 136 2012-05-04 15:07 Music/

 

The first column is the  permissions: the first 'd' means that the entry is a directory.  Following that are three groups of three letters for access permissions for the owner, for a defined user group, and the  final one for public.  (the 'r' means read permission, 'w' write permission and the 'x' for execute permission, '-' means permission is denied.)  Notice that public is denied permission!!!  Only the owner and group are given permission.

 

"nobody" is the the owner and "users" is the group.  To gain access to these files, you MUST be either the owner (nobody) or a member of the group (users).  I believe that this owner and group have a special meaning to unRAID.  All unRAID shares that available to the outside world without a login and password must have this owner and group assigned to them.

 

Check to see that you have this owner and group and the permission string as shown.  (My install is pure villain with with no changes to increase security.) 

 

EDIT:  You can also do all of the above from the console (Keyboard and monitor connected directly to the server)

 

Thank you Frank1940, I will do this and report back. I really appreciate all of the detail. I've had the unraid for 3 years without any large issues, so my experience with having to fix issues is new.

  • Author

Telnet into your unRAID server. 

Login as 'root' and use your unRAID password

You will now be operating in the 'command mode' and will have to type everything in.

 

Type (replacing 'Media' with the share name--Capitalization is IMPORTANT):        ls -al ../mnt/user/Media

 

This will give a listing of everything in the folder 'Media'.  Typical output will look like this:

 

drwxrwx--- 1 nobody users 200 2012-05-02 19:46 ./

drwxrwx--- 1 nobody users 104 2012-05-02 19:42 ../

drwxrwx--- 1 nobody users 264 2012-06-08 17:38 Blu_ray\ Movies/

drwxrwx--- 1 nobody users 392 2012-05-03 23:42 DVD\ Movies/

drwxrwx--- 1 nobody users 200 2012-05-03 10:36 Family\ DVD\ Videos/

drwxrwx--- 1 nobody users 136 2012-05-04 15:07 Music/

 

The first column is the  permissions: the first 'd' means that the entry is a directory.  Following that are three groups of three letters for access permissions for the owner, for a defined user group, and the  final one for public.  (the 'r' means read permission, 'w' write permission and the 'x' for execute permission, '-' means permission is denied.)  Notice that public is denied permission!!!  Only the owner and group are given permission.

 

"nobody" is the the owner and "users" is the group.  To gain access to these files, you MUST be either the owner (nobody) or a member of the group (users).  I believe that this owner and group have a special meaning to unRAID.  All unRAID shares that available to the outside world without a login and password must have this owner and group assigned to them.

 

Check to see that you have this owner and group and the permission string as shown.  (My install is pure villain with with no changes to increase security.) 

 

EDIT:  You can also do all of the above from the console (Keyboard and monitor connected directly to the server)

 

Attached is a screenshot of my output. Not sure if I'm reading this correctly in comparing your typical output above, but most of them have "root root" where as your example has "nobody users". My unraid is used only by me within my home network. I think I need some additional help with translating this. I see the top level dot "." has "root root" and then one level down with the dot dot " ..", I have nobody users.

 

Is that why I can at least see the top level disk structure and unraid in my network places, but then can't get to the next level of folders down without getting permission denied?

ls_al_output_unraid_07_24_12.jpg.6e5e74630bfab6135dfd31445da43784.jpg

You will need to run the New Permissions script.  Currently everything is owned by root, but it should be owned by the user "nobody".

  • Author

You will need to run the New Permissions script.  Currently everything is owned by root, but it should be owned by the user "nobody".

 

I've done the new perms script in the utils tab of 5.0 RC4 but to confirm; is it the same as the below? "unraid" being the name of my network share

 

newperms /mnt/user/unraid/

  • Author

I ran the new perms script in the utils tab of unraid 5.0 RC4.

 

I then did this again:

 

ls -al ../mnt/user/unraid

 

After running that, the only directory that has "nobody users" is below. All my other directories and files still have "root root".

 

 

drwxrwx--- 1 nobody users    104 2012-07-19 04:21 ../

 

 

I ran the new perms script in the utils tab of unraid 5.0 RC4.

 

I then did this again:

 

ls -al ../mnt/user/unraid

 

After running that, the only directory that has "nobody users" is below. All my other directories and files still have "root root".

 

 

drwxrwx--- 1 nobody users    104 2012-07-19 04:21 ../

 

If you look at the jpg you posted, you will observe that the ../ was already 'nobody users'.  It appears that the new permission script has never run.  By the way if you have a lot of files, it will take along time to complete as if has to rewrite every file and directory entry.  If it is not taking several minute to a couple of hours to run, something is wrong...

  • Author

I ran the new perms script in the utils tab of unraid 5.0 RC4.

 

I then did this again:

 

ls -al ../mnt/user/unraid

 

After running that, the only directory that has "nobody users" is below. All my other directories and files still have "root root".

 

 

drwxrwx--- 1 nobody users    104 2012-07-19 04:21 ../

 

If you look at the jpg you posted, you will observe that the ../ was already 'nobody users'.  It appears that the new permission script has never run.  By the way if you have a lot of files, it will take along time to complete as if has to rewrite every file and directory entry.  If it is not taking several minute to a couple of hours to run, something is wrong...

 

from what I've seen in running the new perms script, it's taking maybe 10 minutes. I have about 2.5 TB of files on this server. Total available capacity is a bit over 5 TB. So I agree, something does seem wrong since I'd think it should take a lot longer. I appreciate thoughts on next steps, as I'm at a loss for what other scripts to run or things I can do.

You could try issuing the following:

 

chown -R nobody:users /mnt/user/unraid

I think at this point, you should consider modifying the title of this thread to reflect that you are having a 'New Permissions' problem.  I know that the script calls standard utilities to do this job and tha any good Linux guru could fix the problem with one or two command lines.  But I am not that guy.  I know just enough to made me really, really dangerous if I was working on my computer but oh what I could do if I was working on one remotely!!!  :o  ::)  :-[

 

Oh!!  Just saw sureguy's post.  I do believe that will do the job

You will need to run the New Permissions script.  Currently everything is owned by root, but it should be owned by the user "nobody".

 

I've done the new perms script in the utils tab of 5.0 RC4 but to confirm; is it the same as the below? "unraid" being the name of my network share

 

newperms /mnt/user/unraid/

 

What does newperms output? Telnet (putty) to the server and run the command again. Then copy and paste the terminal session into a post.

  • Author

You will need to run the New Permissions script.  Currently everything is owned by root, but it should be owned by the user "nobody".

 

I've done the new perms script in the utils tab of 5.0 RC4 but to confirm; is it the same as the below? "unraid" being the name of my network share

 

newperms /mnt/user/unraid/

 

What does newperms output? Telnet (putty) to the server and run the command again. Then copy and paste the terminal session into a post.

 

from a telnet putty session, I see:

 

processing /mnt/user/unraid/
... chmod -R go-rwx,u-x,g+u,ug+X /mnt/user/unraid/

 

  • Author

You could try issuing the following:

 

chown -R nobody:users /mnt/user/unraid

 

Sorry - I just saw this too. I am running that line now and will post back.

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.