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.

Getting Permission Denied when trying to copy files

Featured Replies

I am attempting to do a backup from my unRAID device to my FreeNAS device.  I have a Mac with both volumes mounted.  The unRAID device is using AFP and so is the FreeNAS device.

 

I do the following:

 

cp /Volumes/<mountpoint of unRAID>/filename.txt /Volumes/<mountpoint of FreeNAS>/

 

I am doing this as root (I have tried with just the regular user too) and it is giving me a permission denied.

 

I have looked around for solutions to this and tried the following as root on the unRAID box:

 

find /mnt -type d -exec chmod 755 {} \;; find /mnt -type f -exec chmod 644 {} \;

 

The file that I am attempting to copy is in fact set as 644 permission.

 

I let that run to it's entirety and I am still getting the permission denied error.  I hate running down permissions issues but if I am going to do a backup, I need to figure this one out.  Any advice?

 

 

  • Author

I should also mention my version:

 

5.0-rc11

  • Author

Looking at the unRAID server, I found the following and am wondering if the user "e" could be the cause of the issue?

 

root@media0:/boot/config# cat share.cfg

# Generated settings:

shareUser="e"

shareUserInclude=""

shareUserExclude=""

shareSMBEnabled="yes"

shareNFSEnabled="yes"

shareNFSFsid="108"

shareAFPEnabled="yes"

shareInitialOwner="Administrator"

shareInitialGroup="Domain Users"

shareCacheEnabled="yes"

shareCacheFloor="2000000"

shareMoverSchedule="40 3 * * *"

shareMoverLogging="yes"

root@media0:/boot/config#

  • Author

Here is the cfg file for the movies directory I am attempting to copy from:

root@media0:/boot/config/shares# cat movies.cfg

# Generated settings:

shareComment=""

shareInclude=""

shareExclude=""

shareUseCache="yes"

shareAllocator="highwater"

shareSplitLevel=""

shareFloor="0"

shareExport="e"

shareSecurity="public"

shareReadList=""

shareWriteList=""

shareExportNFS="e"

shareExportNFSFsid="103"

shareSecurityNFS="public"

shareHostListNFS=""

shareExportAFP="e"

shareSecurityAFP="public"

shareReadListAFP=""

shareWriteListAFP=""

shareVolsizelimitAFP=""

root@media0:/boot/config/shares#

  • Author

I figured out the issue.  The issue was on the destination FreeNAS device.  No write permissions.  Took me 2 hours and after about giving up I found it.  I hate permissions issues.  :)

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.