Re: Set group seting to multiple files

2002-09-12 Thread martin f krafft
also sprach Alan Shutko <[EMAIL PROTECTED]> [2002.09.12.2003 +0200]: > chmod -R u+r ~/* ~/.* > > which _is_ destructive. not with the zsh shell: fishbowl:~/tmp> chmod -vR u+r .* | head zsh: no matches found: .* (the dir contains no dotfiles.) -- martin; (greetings from the hea

Re: Set group seting to multiple files

2002-09-12 Thread Alan Shutko
martin f krafft <[EMAIL PROTECTED]> writes: > /music/mp3/* includes .. and since you are doing things the recursive > way... No, it doesn't. Try "echo *" somewhere. -- Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors! Doubt grows with knowledge -- To UNSUBSCRIBE, email to [EMAIL

Re: Set group seting to multiple files

2002-09-12 Thread Alan Shutko
martin f krafft <[EMAIL PROTECTED]> writes: > having now checked it (chmod -R u+r ~/* is a non-destructive way in > 98% of the cases), it seems that things changed. the reason i warned chmod -R u+r ~/* is always (and has always been) non-destructive. But it's not complete, since it won't chmod

Re: Set group seting to multiple files

2002-09-12 Thread Ken Irving
On Thu, Sep 12, 2002 at 05:20:48PM +0100, Colin Watson wrote: > On Thu, Sep 12, 2002 at 08:07:24AM -0800, Ken Irving wrote: > > I did this once, then panicked and halted the process when I heard > > a lot of disk activity. The problem is (I think) that the wildcard > > matches the .. file and th

Re: Set group seting to multiple files

2002-09-12 Thread martin f krafft
also sprach Colin Watson <[EMAIL PROTECTED]> [2002.09.12.1809 +0200]: > It doesn't make any sense to me either. You can see what chown is doing > by adding the -v flag, and: > > [cjwatson@riva ~/tmp]$ sudo chown -v -R www-data svn-dump.* > changed ownership of `svn-dump.142' to www-data > c

Re: Set group seting to multiple files

2002-09-12 Thread martin f krafft
also sprach Travis Crump <[EMAIL PROTECTED]> [2002.09.12.1728 +0200]: > >one warning: > > > > NEVER, i repeat *N*E*V*E*R* use the -R flag to chmod/chgrp/chown if > > the final argument is not a directory. for instance > > > >chown -R pierre /music/mp3/* > > > > will eventually change *your

Re: Set group seting to multiple files

2002-09-12 Thread Colin Watson
On Thu, Sep 12, 2002 at 08:07:24AM -0800, Ken Irving wrote: > I did this once, then panicked and halted the process when I heard > a lot of disk activity. The problem is (I think) that the wildcard > matches the .. file and the process recurses back into the parent > directory, etc. '*' doesn't

Re: Set group seting to multiple files

2002-09-12 Thread Colin Watson
On Thu, Sep 12, 2002 at 11:28:00AM -0400, Travis Crump wrote: > martin f krafft wrote: > >one warning: > > > > NEVER, i repeat *N*E*V*E*R* use the -R flag to chmod/chgrp/chown if > > the final argument is not a directory. for instance > > > >chown -R pierre /music/mp3/* > > > > will eventua

Re: Set group seting to multiple files

2002-09-12 Thread Ken Irving
On Thu, Sep 12, 2002 at 11:28:00AM -0400, Travis Crump wrote: > martin f krafft wrote: > >one warning: > > > > NEVER, i repeat *N*E*V*E*R* use the -R flag to chmod/chgrp/chown if > > the final argument is not a directory. for instance > > > >chown -R pierre /music/mp3/* > > > > will eventua

Re: Set group seting to multiple files

2002-09-12 Thread Keith Robinson
On Thu, Sep 12, 2002 at 01:49:33PM +0200, Pierre Dupuis wrote: > OK ! > > I'm sorry to be a newbie :// I need more explanation.. I will be > more explicit > > I've got some files owned by root and part as root group. > First i want to made them audio group. > Then i want to set a rea

Re: Set group seting to multiple files

2002-09-12 Thread Bob Proulx
martin f krafft <[EMAIL PROTECTED]> [2002-09-12 13:33:35 +0200]: > these two can be combined: > > chown -R pierre.music /music/mp3 A very, very small point. The '.' is deprecated in favor of the ':' and so this is preferably: chown -R pierre:music /music/mp3 The ':' is not a valid u

Re: Set group seting to multiple files

2002-09-12 Thread Travis Crump
martin f krafft wrote: > one warning: > > NEVER, i repeat *N*E*V*E*R* use the -R flag to chmod/chgrp/chown if > the final argument is not a directory. for instance > > chown -R pierre /music/mp3/* > > will eventually change *your entire filesystem* to be owned by > pierre! > Can s

Re: Set group seting to multiple files

2002-09-12 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2002.09.12.1333 +0200]: > chmod -R o=rwX,g=rX,o= /music/mp3 ^ u=rwX -- martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck micro$oft dns servi

Re: Set group seting to multiple files

2002-09-12 Thread martin f krafft
also sprach Pierre Dupuis <[EMAIL PROTECTED]> [2002.09.12.1319 +0200]: > I expected a little problem, i have got a lot of files (Mp3s) organized > in rep with sub rep, and i want to set a exec authorisation for a user. > I know how to set it to a unique file, but there are more than one > thous

Re: Set group seting to multiple files

2002-09-12 Thread Pierre Dupuis
lt;[EMAIL PROTECTED]> >Sent: Thursday, September 12, 2002 2:19 PM >Subject: Set group seting to multiple files > > > > >>Good afternoon everyone :) >> >>I expected a little problem, i have got a lot of files (Mp3s) organized >>in rep with sub re

Set group seting to multiple files

2002-09-12 Thread Pierre Dupuis
Good afternoon everyone :) I expected a little problem, i have got a lot of files (Mp3s) organized in rep with sub rep, and i want to set a exec authorisation for a user. I know how to set it to a unique file, but there are more than one thousand files, so i wanted to do for each Mp3s (and to