Skip to contentSkip to conversation

permissions in a web directory using umask

DISCUSSION Miguel González Castaños 1 participant 1 message Feb 4, 2003

lore
Share & tools
lore
#0 lore raw

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