Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Resolved Copying Windows Profiles

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Soapm
Posts: 603
Joined: 2012-05-22 04:23
Has thanked: 1 time

Resolved Copying Windows Profiles

#1 Post by Soapm »

I'm trying to backup my windows profiles onto my Debian server. I mounted the drive into the "Profiles" directory then used the command

Code: Select all

cp -R /profiles/* /video/zwindowsbackup/Grace/p/
The problem is the command can't seem to access the windows folders because of permission.

Code: Select all

'/profiles/Rickey' -> '/video/zwindowsbackup/Grace/p/Rickey'
cp: cannot access '/profiles/Rickey': Permission denied
Is it how I'm mounting the folder or is it in the cp command that I can override the windows permission so I can completely copy everything over. Is there a better way I should be trying this?


This is my fstab entry;

Code: Select all

//192.168.0.181/Profiles /profiles cifs username=******,password=********,sec=ntlmv2  0 0
ps... i'd like to copy them without any permissions so I can put all the files back in the profile folders once I upgrade the drives to SSD's. With a fresh install from xp64 to Win10.

Post Reply