From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel =?iso-8859-1?Q?Gonz=E1lez=20Casta=F1os?= Subject: Re: permissions in a web directory using umask Date: Tue, 04 Feb 2003 15:22:48 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3E3FCCB8.2E4DD164@tid.es> References: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-admin@vger.kernel.org Cc: "Shaw, Marco" It is what I did, set the SGID bit for that directory. It works with th= e new files and directories but It doesnt work when I transfer a file with sftp for instance. Thanks Miguel "Shaw, Marco" ha escrito: > SGID (set the GID bit) the directory? > > > -----Original Message----- > > From: Miguel Gonz=E1lez Casta=F1os [mailto:mgc@tid.es] > > Sent: Tuesday, February 04, 2003 9:26 AM > > To: linux-admin@vger.kernel.org > > Subject: permissions in a web directory using umask > > > > > > 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 > > > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe > > linux-admin" in the body of a message to > > majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html