[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Set group seting to multiple files



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 read permission for group audio on these files.
 > 
 > I have look at the man chmod but it is not very limpid.
 > 
 > Maybe someone can help me :)
 > 
 > Pierre Dupuis
 > pi.dupuis@wanadoo.fr
 >

 <snip>

  chgrp audio <file1> <file2> ...

  OR

  chgrp -R audio <dir>

  This will change the group from root (or whatever) to audio - the first will do files, the second directories.  However, you need to be the owner in order to make any ownership/permission changes.

  chmod g+r <file1> <file2> ...

  OR

  chmod -R g+r <dir>

  This will give group read permissions - the first for individual files, the second for whole directories.

  Hope that's "limpid" enough for you, pierre ;)

 Keith 



Reply to: