Jump to content
Sign in to follow this  
icemounty

Copying to unraid server from windows 10

20 posts in this topic Last Reply

Recommended Posts

Until yesterday, I have not had any issues other than transfer speeds, copying from my windows 10 computer, to unraid server 6.5.3

Yesterday, I swapped out my C:\ drive with a Samsung SSD.  Now the new Samsung drive is my C:\ drive and my old C:\ drive is now my D:\ drive

I immediately began to get permission issues when copying folders between those 2 drives, and have finally figured it out.

 

Todays issues is that I can not copy anything from either C:\ or D:\ to my mapped Tower Drive T:\Media 192.168.2.7

 

My Tower is mapped to my main Media folder   T:\ drive and normally I use windows explorer to drag and drop between windows and my server.  Now I'm getting a Destination Folder Access Denied Warning.  Then it says you need permission to perform this action, try again or cancel.

 

So, I have 7 or 8 folders setup up under 192.168.2.7\media

 

4K movies

Disney Movies

Downloads

Fitness Videos

Kindle Books

Looney Tunes

Movies

Music Videos

My Music

Shared Photos

TV Shows

Sports

Windows Software and Games

 

When I try and drag and drop To most of these folders, I get that error.  But not all of them.  

 

Seems like the permission issues I'm having are with the following folders

 

Disney Movies

Fitness Videos

Looney Tunes

Movies

Music Videos

My Music

TV Shows

Sports

 

I also noticed that the permissions are different between the different shares 

 

 

 

Permissions.thumb.jpg.d83e129c63911ad4f1653fd7c88c7de8.jpg

 

 

 

 

 

disney.thumb.jpg.dd88a2132b10413e48fc5f2bbfa80274.jpg

 

4K Movies.jpg

Share this post


Link to post

Now When I try and change the permissions, Im getting enumerate objects in the container, access is denied in the following folders

 

9 minutes ago, icemounty said:

Disney Movies

Fitness Videos

Looney Tunes

Movies

Music Videos

My Music

TV Shows

Sports

 

Share this post


Link to post

First and foremost, if you have Access Denied because of permission then you need to change permission in unRAID (e.g. via console / SSH). Changing permission of a Linux system through Windows is a very messy affair.

 

"Access Denied" is a pretty generic Windows error for many things. I have seen it for the following, surely not exhaustive list:

  • Destination write error
  • Corrupted login credentials
  • Excessive network latency
  • Destination incorrect permission
  • Antivirus scan in the background
  • Bad NIC
  • Bad router
  • Bad cable
  • Overloaded network
  • Overloaded server
  • Source incorrect permission (yep most inexplicable destination access denied due to source incorrect permission!)

So if you suddenly have this error then

  • First thing to check is whether there's any problem with your server and network.
  • Clear credentials and remap again
  • Go back to the last major action you have taken e.g. "swapped out my C:\ drive with a Samsung SSD" <-- curious what your "C:\" was originally

If you haven't change permission of your share then it's highly unlikely that the permission suddenly changed. It must have been due to something else.

Share this post


Link to post

can I make permission changes on my unraid server by accessing the gui through a web interface, or do I need to make changes directly though the server?

 

For instance, while using windows explorer, under advanced setting folders that has my Disney media, the owner is listed as nobody which I assume is the default ownership.  It lists full control. But the 2 other (users and everyone) only allows to read and execute.

 

I guess I just dont understand where in the gui I need to change the permissions back to where they were before.

Share this post


Link to post
48 minutes ago, testdasi said:

Clear credentials and remap again

IS there is list of commands that I can copy and paste or instructions to follow along?

Share this post


Link to post

You can run the Tools->New Permissions tool to set unRAID permissions to their standard values.    If you run Docker then you need to use the “Docker Safe” version of this tool to avoid resetting permissions in the ‘appdata’ folder used by most Docker containers.

Share this post


Link to post
8 minutes ago, itimpi said:

 If you run Docker then you need to use the “Docker Safe” version of this tool

I run 3 dockers, plex,  firefox and calibre, are you saying I need to download another docker called docker safe permissions or something like that?

Share this post


Link to post

The Docker Safe New Permissions tool is installed if you install the Fix Common Problems plug-in (which is a highly recommended plugin to have).

Share this post


Link to post
Just now, icemounty said:

I have fix common problem plugin

 

Then you will have the Tools->Docker Safe New Perms tool installed.

Share this post


Link to post
4 minutes ago, itimpi said:

Docker Safe New Perms tool installed.

under fix common problems, I do not see new perms tool?  I this part of the troubleshooter or extended tests?  

Share this post


Link to post

The following user shares will be excluded from the permissions tests:

/mnt/user/domains

Processing /mnt/user/4K
Processing /mnt/user/appdata
Processing /mnt/user/domains
Processing /mnt/user/Downloads
Processing /mnt/user/IMPORTANT DOCUMENTS
Processing /mnt/user/isos
Processing /mnt/user/KINDLE EBOOKS
Processing /mnt/user/Media
Processing /mnt/user/My Photos
Processing /mnt/user/SOFTWARE
Processing /mnt/user/system
Processing /mnt/user/TORRENTS


The following files exist within the same folder on more than one disk.  This duplicated file means that only the version on the lowest numbered disk will be readable, and the others are only going to confuse unRaid and take up excess space:

/mnt/user/system/docker/docker.img   disk2 cache
/mnt/user/system/libvirt/libvirt.img   disk2 cache

The following files / folders may not be accessible to the users allowed via each Share's SMB settings.  This is often caused by wrong permissions being used on new downloads / copies by CouchPotato, Sonarr, and the like:

/mnt/user/appdata/kde/cache-678016b03e1a   root/root (/)  0
/mnt/user/appdata/kde/share/apps  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/kconf_update  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/kconf_update/log  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/kfileplaces  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/kget  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/konsole  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/apps/krusader  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/config/drkonqirc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/katerc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kconf_updaterc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kcookiejarrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kdebugrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kdedrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kdeglobals  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kget_multisegkiofactory.rc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kgetrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kglobalshortcutsrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kio_httprc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kioslaverc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/konsolerc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/krusaderrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/ktimezonedrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kuriikwsfilterrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/kwalletrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/config/phonondevicesrc  nobody/users (99/100)  0600
/mnt/user/appdata/kde/share/kde4  nobody/users (99/100)  0700
/mnt/user/appdata/kde/share/kde4/services  nobody/users (99/100)  0700
/mnt/user/appdata/kde/socket-678016b03e1a   root/root (/)  0
/mnt/user/appdata/kde/tmp-678016b03e1a   root/root (/)  0
/mnt/user/KINDLE EBOOKS/pulse  nobody/users (99/100)  0700
/mnt/user/KINDLE EBOOKS/pulse/1922ef98bb9cad3c6819c811553298f9-runtime   root/root (/)  0
/mnt/user/KINDLE EBOOKS/pulse/cookie  nobody/users (99/100)  0600


Directories Scanned: 500076  Files Scanned: 624759

 

Edited by icemounty
blank

Share this post


Link to post
7 minutes ago, icemounty said:

under fix common problems, I do not see new perms tool?  I this part of the troubleshooter or extended tests?  

It is installed under the Tools page in the same area as the default New Permissions tool.

Share this post


Link to post

Your suggestions worked.  once the permissions were fixed, I had to delete where I mapped the Tower drive to in windows explorer.  Rebooted, disconnected the mapped tower drive in network places and remapped the drive at the command prompt.  Not only can I now drag and drop from windows into my server again, but I am able to transfer at speeds of 80-110 mb/s.  Most I ever got was around 20-40mb/s.

 

Thanks again Itimpi

 

 

 

Share this post


Link to post

Glad to hear everything is now fine.  

 

Not sure why your speeds have changed though if nothing else has changed!   Your lower speeds sound as if you were writing directly to the parity protected array.   The higher speeds suggest you are either writing to the cache (most likely reason) or have Turbo Write enabled.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this