File Permissions - Ubuntu Server
Karl Goetz
karl at kgoetz.id.au
Mon Aug 11 06:46:37 BST 2008
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 <karl at kgoetz.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20080811/0c05ce25/attachment.pgp
More information about the ubuntu-au
mailing list