X-Spam-Check-By: sourceware.org
Message-ID: <fb34b27b0608041012y8c2fd24j57149216ade5893f@mail.gmail.com>
Date: Fri, 4 Aug 2006 18:12:26 +0100
From: "Mark Fisher" <mark.j.fisher@gmail.com>
To: cygwin@cygwin.com
Subject: Re: need assistance w/sftp & home folder creation
In-Reply-To: <599515fa0608040958n1c7d078fi629f79e1fc18e05d@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <599515fa0608040958n1c7d078fi629f79e1fc18e05d@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 8/4/06, MyStiC wrote:
> Also, I am looking for a way to have the initial setup of the users'
> home directories to also create predefined links.  ie /home/user/
> link_1, link_2...  Presently, I am creating these links manually so
> the restricted users, or any user which is unfamiliar with the file
> system, can quickly access public resources.

can't help with the sftp, but one solution to creating the links is
to create a script that checks for them and creates them if they
don't exist. then put it in "/etc/profile.d/" and it will be run when
they run a shell and thus the links will be available to them.
i have several scripts in this area, export.sh, alias.sh, ...
to set common values for each shell.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

