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.

5.0b11 - doubt about permissions

Featured Replies

Hi, under "Utils" tab, you can read:

"New Permissions

This is a one-time action to be taken after upgrading from a pre-5.0 unRAID server release to version 5.0. It is also useful for restoring default ownership/permissions on files and directories when transitioning back from Active Directory to non-Active Directory integration.

This will start a background process that goes to each of your data disks and cache disk and change all file and directory ownership (uid/gid) to 99/100, i.e., to nobody/users. In addition it sets permissions as follows:

For directories:

  -rwxrwx---

For read/write files:

  -rw-rw---

For readonly files:

  -r--r-----

This process can take a long time if you have many files."

 

I really don´t understand how it works. Since I am having problems with copying files from my pc to my shares (I get an error telling me I don´t have any permissions to do that), I would really appreciate if anyone can explain to me the functionality of the "Utils" tab.

Rgds.

 

 

Due to the new method of managing shares in version 5 new permissions settings are required after an upgrade from version 4.7. If add-ons are not configured correctly or command line file operations are not done correctly it may be necessary to run it again.

  • Author

Hi, I did a clean install of 5.0b11 so this does not apply to me.

 

I checked the following...

1) I created 3 new shares:

00_DATA PERSONAL

00_MEDIA

00_MEDIA PERSONAL

2) I then copied folders/files from an external HDD (mounted using SNAP) to 00_MEDIA. The folders/files were created with a previous version of unraid (4.7). For example, let´s say one of the folders is "SCIFI MOVIES"

3) Now I downloaded a movie from Internet to my pc and then tried to copy it to my 00_MEDIA share>folder "SCIFI MOVIES". I get a permissions error.

4) Now I create a new folder in my 00_MOVIES, let´s say it´s called "YYY". After that I try to copy a file from my pc to 00_MOVIES>folder "YYY". It works. No permissions error.

Why is this happening?

How can I fix it?

Rgds.

 

The permissions were not set correctly while using the SNAP add-on. Run the New Permissions utility.

  • Author

Hi,

-how should be the snap add-on be configured to allow permissions to work correctly (i still need to migrate more disks from my old array inv4.7 to 5.0b11)?

-to run the new permissions utility i only need to check "start" button in Utils tab, right?

Rgds.

It was not SNAP per se. It was to copy commands that you used. You can set up a script that will do the copy and then fix the permissions. The simplest solution is just to run the Utility.

  • Author

Hi, thx for help. I did run the Utility and it worked.

"You can set up a script that will do the copy and then fix the permissions"....You mean I can´t run this script from snap? If so, let me know how should the script look like.

Rgds.

 

Here a script:

#!/bin/bash
args=("$@")
echo ... cp $*
cp $*
/usr/local/sbin/newperms ${args[$(( $# - 1 ))]}

 

Use this instead of cp.

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.