ssh ceased to work after recreation of /etc/passwd

FischRon.external@infineon.com FischRon.external@infineon.com
Thu Jul 14 06:43:00 GMT 2005


> >  chown: changing ownership of ....: Permission denied
> >
> >This seems to be related to another a problem I am discussing here in
> >the thread 
> >with subject line "chmod suddenly ceased to work on old files - NEW
> >FINDINGS".
> >chown seems to fail exactly for those files where I also have no
> >permission to
> >do a chmod.
> 
> 
> Yeah, that's certainly going to be a problem. You need to fix 
> this before
> you'll have much luck with permissions in general.  Maybe you 
> just need to 
> use Windows to take ownership of all these files.

I have included two screenshots, which I got by using Windows Explorer
on the file properties, and then digging deep into the extended
properties.
The first screenshot, Capture-1.jpg, shows properties of file x which
has the "permission" problem, while screenshot Capture-2.jpg shows file
y
where everything works fine. Have a look at the two lines at the
bottom. The bottommost line translates to "change ownership" and the
line above means "change permissions". In the properties box for file
x, these two checkboxes were unchecked, so I checked them and - voila!
- chmod and chown work!

Now having identified the problem, I'm wondering whether there is a way
to do this recursively for all files, because it is not feasible to
manually
click through every single file. I understand that this is not a
Cygwin-,
but a Windows question; but in case someone knows how to do it, I would
be
grateful for a (maybe off-list) message...

Thank you for all the suggestions. I did not know before that the
Windows security system was so intricate....

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture-1.jpg
Type: image/jpeg
Size: 64386 bytes
Desc: Capture-1.jpg
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050714/81cdb189/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture-2.jpg
Type: image/jpeg
Size: 67310 bytes
Desc: Capture-2.jpg
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050714/81cdb189/attachment-0001.jpg>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list