how to change default permissions assingment creating folder/files

Joachim Schrod jschrod at acm.org
Fri Jan 18 13:15:11 UTC 2008


Vitorio Okio wrote:
> On Wed, 16 Jan 2008 05:45:22 +0100, Mario Vukelic wrote:
> 
>> On Wed, 2008-01-16 at 01:33 +0000, Vitorio Okio wrote:
>>> I would like to change this default behaviour and have permissions of a
>>> new folder being set to 750 and of a new file to 640 instead.
>>> 
>>> Anyone can suggest how to do it?
>> 
>> You need the set the umask variable, see
>> http://ubuntudemon.wordpress.com/2007/10/24/default-umask/
> 
> yes, but this would make it system wide.  while i would like this setting 
> only for my home directory that sits in a separate ext3 partition.

You probably want to install the package acl (it's in universe; I 
really wonder why it's not in main) and learn about default access 
control lists on directories with man acl.

It's not light reading, though, and I don't know of a tutorial, nor 
of a GUI where you can set ACLs more easily.

	Joachim

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod				Email: jschrod at acm.org
Roedermark, Germany





More information about the ubuntu-users mailing list