LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-02-2017, 06:40 AM   #1
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 282

Rep: Reputation: Disabled
Cygwin / Upgrade from Win 7 to Win 10 / bad permissions


I upgraded from Win 7 to Win 10 and I am not able to run a tar command on files that previously worked with Cygwin. All the files are currently showing as Unknown+User and Unknown+Group. As far as I was reading the new Windows created a brand new user and the previous one no longer exists. I am looking for the best and the safest way of getting out of this. I will add that this is a backup and if something does not go as expected, I can lose a year and a half of all day / week work.

I want to make .tar.gz files of two websites that I have on my drive. I could use .zip or .rar on Windows, but I guess it would be better to do it from within Cygwin and use the tar.
 
Old 07-02-2017, 11:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you may try to change the owner (as admin) recursively of all those files/dirs - just to make them accessible, but probably better to reinstall cygwin again.
 
Old 07-02-2017, 02:08 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by AdultFoundry View Post
I want to make .tar.gz files of two websites that I have on my drive. I could use .zip or .rar on Windows, but I guess it would be better to do it from within Cygwin and use the tar.
Just curious: Why do you think tar would be better than zip or rar? The files are on your windows PC, yes? Wouldn't the best way to back them up be with a windows utility? I back up source files built and maintained in windows with zip.

As I say, just curious.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cygwin Bash Script Initiated from WIN 7 Task Scheduler Fails dpminusa Programming 6 09-21-2013 10:40 PM
Win 7 failed after Install Mint 14 beside win 7 on HP pavillion dv6 6091 saeedit Linux - Laptop and Netbook 9 04-17-2013 02:54 PM
WOL lin->win fails, win->win works? c0uchm0nster Linux - Networking 1 01-07-2007 11:33 PM
how would you install win xp, win vista(beta), and slackware with a tri boot? whited Linux - General 3 07-02-2006 11:12 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration