znelbok Posted January 1, 2012 Posted January 1, 2012 Hi all I am re-arranging my directories and being a newb to linux I looked up how to copy with the command line. So I ran this cp -r /mnt/disk1/games/dir1/* /mnt/disk2/Games From teh unRaid web interface an I can see the files, but if I go to windows explorer I can see the new folder that was created, but i get an error games is not accessible. You might not have permission to use this nertwork resource. So I assume there is a permission issue that needs to be corrected, but I dont know how to. Is there a proceedure for copying files within unraid from disk to disk? How do I correct the permissions of the files I have copied already? Thanks Mick
Nathaniel Posted January 3, 2012 Posted January 3, 2012 From teh unRaid web interface an I can see the files, but if I go to windows explorer I can see the new folder that was created, but i get an error games is not accessible. You might not have permission to use this nertwork resource. So I assume there is a permission issue that needs to be corrected, but I dont know how to. Is there a proceedure for copying files within unraid from disk to disk? How do I correct the permissions of the files I have copied already? run "newperms" to fix permissions on everything in the shares. you're right, it is a permissions issue. because you copied things from the command line, which is the root user, now root owns those files. I think the nobody user is the one that is supposed to own anything on the shares. If you used chown after moving things around you could fix it manually, or just run newperms again. Copying the files through the share interface (i.e., not by logging in to unRAID) si the only way to really avoid the issue, but it will become less of a problem once you have the big things where you want them and stop needing to move them around internally. Also, try using midnight commander by running "mc" on unRAID -- it is a great file manager for arranging things the way you want without having to type on the command line.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.