From: "Miguel González Castaños" <mgc@tid.es>
To: linux-admin@vger.kernel.org
Cc: "Shaw, Marco" <Marco.Shaw@aliant.ca>
Subject: Re: permissions in a web directory using umask
Date: Tue, 04 Feb 2003 15:22:48 +0100 [thread overview]
Message-ID: <3E3FCCB8.2E4DD164@tid.es> (raw)
In-Reply-To: C65F89D1AC0BB54B865127151A24DA780E4905D7@nbexchm2.aliant.icn
It is what I did, set the SGID bit for that directory. It works with the
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ález Castaños [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
next parent reply other threads:[~2003-02-04 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <C65F89D1AC0BB54B865127151A24DA780E4905D7@nbexchm2.aliant.icn>
2003-02-04 14:22 ` Miguel González Castaños [this message]
2003-02-04 15:21 ` permissions in a web directory using umask Miguel González Castaños
2003-02-04 13:26 Miguel González Castaños
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E3FCCB8.2E4DD164@tid.es \
--to=mgc@tid.es \
--cc=Marco.Shaw@aliant.ca \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).