On Mon, 2008-08-11 at 15:39 +1000, Simon Ives wrote:
> I'm running Ubuntu Server 8.04 and I need to change the permissions for
> a large quantity of files and directories.
> 
> I've got a directory named 'music' that I share with the home network.
> This includes other Linux boxes that access this directory via nfs and
> some Windows XP boxes accessing it via samba.  I've just transferred
> around 80gb of music files and directories from a Windows drive and I
> need a command to alter the permissions of all the files as read/write
> for everyone.

chmod -R

> 
> Further, is there a way that I can set all newly created directories and
> files within this particular directory to inherit the file permissions
> of the parent directory?

you can change the system umask, or perhaps s[u,g]id bits if your after
users/groups.
kk

> 
> Thanks.
> 
> Simon Ives.
> 
> 
-- 
Karl Goetz <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
ubuntu-au mailing list
ubuntu-au@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-au

Reply via email to