X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=jPO Bv4+L6PNR/SRWJinLYihaGZ7LZ/Qry4jwGg9+bMqDhKrxtNRX+hH4Kn6LFpbvFM1 +dLkqY3WY7wZb6rEbPBk43YHsB12/cUEPqBeniKYcVdZ+sGLllRHsCpVNqwvi0ap b7OQx11IizAWH7AKUX/S5XAJmiZmWoPCxtRXlB+0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=K5pIegtpw PivYJjuYH91c2aRmEY=; b=KJK95GejY7BEVzgAuCXVKBPENmNmyam9ZzfbVar84 iP+UkJ8d9ocaNAlO2JmOfw8/1xhw1Ba3acS4neKI+LftUJZ5uZH/dBr12bcYxXrK cd/XkjyVXLyM4TuP2RdqBr8GCOTRRGOCqZtCuvIZlw8MdCw186ogV5pNwdIRJQ8y wA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,GRANT_SUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Yahoo-SMTP: ycweUreswBCK.d0cygTP5tXwHncbOU7YVeVfIxOQoyRMI2IuIKLmUqE- X-Rocket-Received: from [192.168.10.27] (lmh_users-groups AT 71 DOT 232 DOT 178 DOT 51 with plain) by smtp107.biz.mail.gq1.yahoo.com with SMTP; 24 Mar 2013 18:19:12 -0700 PDT Message-ID: <514FA60E.7060906@molconn.com> Date: Sun, 24 Mar 2013 21:19:10 -0400 From: LMH User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: how to use cygwin to grant windows full control (xp) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I have just changed hardware and reinstalled windows. I keep my data on separate drives, but of course I no longer "own" the files. In the past I have just used a combination of chown and chmod -R to change the file ownership and permissions to my new user. This time, I have done this, but it didn't seem to work. I can't move or copy files like I should be able to. I have done, chown -R user_name /dir/ followed by, chmod -R 777 /dir/ I am logged into an administrative user account. I would prefer to not use 777, but I need access to these files and 755 didn't work. If I open the windows permissions, I see that I don't have "full control" over files, and for directories, there are no permissions whatsoever for my username (all check boxes are empty). Can someone point me to a writeup on how to recursively change all directories and files to my ownership and give them reasonable permissions? I would also like to remove the old "unknown user" permissions that are there from my last install if there is a good way to do that. LMH -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple