* chown --recursive [OWNER][:[GROUP]] ... doesn't work
@ 2013-06-08 15:47 Vasiliy
2013-06-08 16:06 ` Ruby L. V. Lammert
2013-06-08 18:50 ` chown --recursive [OWNER][:[GROUP]] ... doesn't work Corinna Vinschen
0 siblings, 2 replies; 4+ messages in thread
From: Vasiliy @ 2013-06-08 15:47 UTC (permalink / raw)
To: cygwin
chown --recursive <owner> *.* doesn't change ownership for all files,
single files are proceeded ok
$ uname -srvm
CYGWIN_NT-6.1 1.7.20(0.266/5/3) 2013-06-06 17:36 x86_64
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Ruby
2013-06-08 15:47 chown --recursive [OWNER][:[GROUP]] ... doesn't work Vasiliy
@ 2013-06-08 16:06 ` L. V. Lammert
2013-06-08 18:50 ` chown --recursive [OWNER][:[GROUP]] ... doesn't work Corinna Vinschen
1 sibling, 0 replies; 4+ messages in thread
From: L. V. Lammert @ 2013-06-08 16:06 UTC (permalink / raw)
To: Cygwin Mailing List
Trying to create an install procedure for a simple Ruby script using
rest-client for our remote Windows machines, but Ruby is choking on
openssl [on a newly installed machine - runs fine on my dev VMs]:
$ irb
irb(main):001:0> require 'openssl'
LoadError: No such process - /usr/lib/ruby/1.9.1/i386-cygwin/openssl.so
ldd is also blocking for some reason on the install machine, if that is
any clue:
Dev Machine Install Machine
chgcheck OK OK
ldd OK no return!
The only clues I have found online refer to compiling Ruby with an SSL
flag, but I have not compiled Ruby on my dev platform, and would prefer to
not compile when installation on a remote machine.
ALso found some 'installer generator gems', but the most promising one,
ocra, does not run under Cygwin!
Any pointers to the source of the problem or a possible installer for Ruby
apps that works under Cygwin would be greately appreciated, ..
TIA!!
Lee
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: chown --recursive [OWNER][:[GROUP]] ... doesn't work
2013-06-08 15:47 chown --recursive [OWNER][:[GROUP]] ... doesn't work Vasiliy
2013-06-08 16:06 ` Ruby L. V. Lammert
@ 2013-06-08 18:50 ` Corinna Vinschen
2016-05-25 8:44 ` Eric Blake
1 sibling, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2013-06-08 18:50 UTC (permalink / raw)
To: cygwin
On Jun 8 17:47, Vasiliy wrote:
> chown --recursive <owner> *.* doesn't change ownership for all files,
Wrong pattern. *.* doesn't match files without dot. Try
chmod -R * .*
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: chown --recursive [OWNER][:[GROUP]] ... doesn't work
2013-06-08 18:50 ` chown --recursive [OWNER][:[GROUP]] ... doesn't work Corinna Vinschen
@ 2016-05-25 8:44 ` Eric Blake
0 siblings, 0 replies; 4+ messages in thread
From: Eric Blake @ 2016-05-25 8:44 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
On 06/08/2013 12:50 PM, Corinna Vinschen wrote:
> On Jun 8 17:47, Vasiliy wrote:
>> chown --recursive <owner> *.* doesn't change ownership for all files,
>
> Wrong pattern. *.* doesn't match files without dot. Try
>
> chmod -R * .*
Umm, that changes .. and its children, too, which is probably not what
you want. That, and long command lines can be problematic if the glob
expands to too much, you might have issues if there are no matches the
glob, and you have problems if any files begin with '-'.
Better is:
chmod -R owner .
and let chmod do the recursion over all files in '.' itself without
having to worry about how to glob all of them.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-25 0:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-08 15:47 chown --recursive [OWNER][:[GROUP]] ... doesn't work Vasiliy
2013-06-08 16:06 ` Ruby L. V. Lammert
2013-06-08 18:50 ` chown --recursive [OWNER][:[GROUP]] ... doesn't work Corinna Vinschen
2016-05-25 8:44 ` Eric Blake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).