Ok. I found another way of doing it. Since chown does not appear to work the way the "chown --help" says that it will. I now run this find command: find ./ -user ryukyu -group settlers -exec chown skb.skb {} \; Now, can someone explain to me what the "{} \;" part of the command does/is for? It won't run without that part and I can't find anyplace that tells me what it is for.
Thanks Steve >By the way, I have tried the following command that "chown --help" says to >do but it doesn't seem to do anything: >chown -R --from=ryukyu:settlers skb.skb * >and >chown -R --from=ryukyu.settlers skb.skb * > >Thank You >Steve > >At 09:18 AM 9/19/2002 -0500, you wrote: > I can't figure something out. I am trying to come up with a > command line way through programs already on the system (RedHat 7.2) or a > script that will do the following. > Change ownership of all files in a directory that are owned by a > specific user, leaving files that are not owned by that user alone. It > needs to start in that directory and go through ALL sub directories of > the directory that I am starting in and do the same thing without having > to name all of the subdirectories. > For another script, I would like it to change permissions on all > files that end in a certain extention(s). It should work in the same way > though. Meaning that it will go through all sub directories and sub > directories of the sub directories, etc... > Does anybody know how to do that from the command line, or knows > of a script that will do that. I don't want the scripts to do any more > than just that. That way, if it is a script, it will be only one file > and kind of small....I hope. > >Thank You >Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list