From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel =?iso-8859-1?Q?Gonz=E1lez=20Casta=F1os?= Subject: permissions in a web directory using umask Date: Tue, 04 Feb 2003 14:26:27 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3E3FBF83.D875A34B@tid.es> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org dear all, I have a web directory that is accessed by a group of users. I have used umask to set the default permissions of that directory. That way all the users of the group can create new files and directories that will be accessable by the rest of the users of the same group. The problem arises when I want to transfer files to that directory, the umask is not used and the permissions are set by the client. I am using a SSH windows client (www.ssh.com) but I have seen that there is the same problem with ftp clients. I have looked around on the web but seems to be a tough problem. I am wondering if there is any setting in the ssh server or the ssh client that can bypass this problem. If not, let me know any suggestion in a less "elegant" way. Many thanks in advance Miguel