From: Igor Homyakov <homyakov@ramax.spb.ru> To: community@altlinux.ru Subject: Re: [Comm] set files rights Date: Mon, 8 Sep 2003 16:11:03 +0400 Message-ID: <20030908121103.GC27462@kadath.office.spb.ramax.ru> (raw) In-Reply-To: <63447757821.20030908154044@mtu-net.ru> * Sergey A. Kolesnitchenko <sergey.ak@mtu-net.ru> [030908 15:42]: > Добрый день, уважаемые коллеги! > Подскажите пожалуйста, как можно установить одинаковые права и группу на всю > директорию и вложенные в нее файлы и директории автоматически? > Скрипт bash/perl? > C уважением, > Сергей > !DSPAM:3f5c6b31188477829515473! пример: # cd /some/dir/ # find . -type f -print0 | xargs -0 chmod 644 # find . -type d -print0 | xargs -0 chmod 755 # chgrp -R newgroup * немного длинный но наиболее корректный способ -- Igor Homyakov <homyakov at altlinux dot ru> http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
next prev parent reply other threads:[~2003-09-08 12:11 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-09-08 11:40 Sergey A. Kolesnitchenko 2003-09-08 11:46 ` Maxim Tyurin 2003-09-08 11:48 ` Leonid B. Sysoletin 2003-09-08 12:11 ` Igor Homyakov [this message] 2003-09-08 12:09 ` Alexey I. Froloff 2003-09-08 13:43 ` [Comm] " Vitaly Ostanin 2003-09-08 15:20 ` Igor Solovyov 2003-09-08 15:35 ` Igor Solovyov 2003-09-09 5:06 ` Alexey I. Froloff 2003-09-09 6:58 ` Vitaly Ostanin 2003-09-09 9:45 ` Sergey A. Kolesnitchenko 2003-09-09 10:04 ` Re[2]: " ASA 2003-09-09 20:37 ` Re[3]: " Ярослав Кохан 2003-09-11 21:19 ` Michael Shigorin 2003-09-09 10:30 ` Leonid B. Sysoletin 2003-09-08 14:43 ` Denis Smirnov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030908121103.GC27462@kadath.office.spb.ramax.ru \ --to=homyakov@ramax.spb.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git