[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] RAQ3 generate files in users home dir
- Subject: Re: [cobalt-developers] RAQ3 generate files in users home dir
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Fri Apr 20 01:08:26 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
"@lfa" <lynet@xxxxxx> wrote:
> I have added a folder in /etc/skel/user/en_US called newfolder
> this generates the folder automagically when generating a new user
>
> I want to change permissions on the generated folder how can
> this be done at the same time as I generate the folder?
'man mkdir' will give you the options. 'mkdir -m 0600 foo' would create a
directory 'foo' that is readable/writable by the owner and not accessible by
anyone else. Also 'man chmod' and 'man install' for other commands you
might find useful. Locate the Cobalt script that generates the directory
for the new user and make the necessary changes.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/