LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions issues using new OS with existing RAID5 (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-issues-using-new-os-with-existing-raid5-4175629107/)

vendo23 05-05-2018 06:47 PM

Permissions issues using new OS with existing RAID5
 
Hi everyone! I'm still a pretty big Linux n00b, and I'm having the following issue:

(What I've got)
-Debian-Jessie with OpenMediaVault as a NAS
-Windows 10 machine with NFS shares to the NAS


I am trying to transfer my software RAID5 from Debian Jessie (with OpenMediaVault) to Ubuntu. I figured out how to re-share my folders to my other windows machine, but my old raid was owned by the root user, which means I don't have permissions to do anything on the Ubuntu OS. Is there any way I can simply remove all permissions on my RAID5 in Debian (without deleting any of my files on the raid, of course), and then just mount it on Ubuntu and start assigning permissions? Or, what is the easiest/best way of accomplishing a RAID5 transfer from Debian -> Ubuntu in order to get shares working, etc?

fatmac 05-06-2018 12:12 PM

If you just mean the folder & file permissions, you can change them using the root account, or sudo, to whichever user & group you want.

(man chown)

AwesomeMachine 05-06-2018 04:57 PM

Usually, if a file or directory is owned by root on one system it will be owned by root on any system, given that it isn't copied. If a user copies a file, the copy is owned by the user.


All times are GMT -5. The time now is 09:27 PM.