This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to use cygwin to grant windows full control (xp)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]