X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 4 Aug 2006 18:12:26 +0100 From: "Mark Fisher" To: cygwin AT cygwin DOT 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 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/