Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]easy-directories
- To: "tlug@example.com" <tlug@example.com>
- Subject: easy-directories
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Fri, 8 Dec 2000 00:00:05 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <200012071450.eB7Eo0619761@example.com>
- References: <200012071450.eB7Eo0619761@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ND1xfD.A.T2E.Sb6L6@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> "K" == K C <null@example.com> writes: K> /home/user1/test K> /home/user2/test K> etc..etc.. su for dir in /home/*; do if [ -d $dir ]; then mkdir $dir/test chown ${dir#/home} $dir/test # maybe you should set group, too # chmod 0750 $dir/test # maybe you need this fi done Alternatively you could use something more complicated to parse /etc/passwd. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 _________________ _________________ _________________ _________________ What are those straight lines for? "XEmacs rules."
- Follow-Ups:
- Re: easy-directories
- From: "K.C." <null@example.com>
- Re: easy-directories
- From: Simon Cozens <simon@example.com>
- References:
- easy-directories
- From: "K.C." <null@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: who's coming?
- Next by Date: easy-directories
- Prev by thread: easy-directories
- Next by thread: Re: easy-directories
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links