On Wed, 2005-03-02 at 16:22 -0600, Jay Paulson wrote: > >> I've set up a group called 'www' on my machine. There are two users > >> in > >> that group 'user1' and 'user2'. When I connect to my FC3 box via ftp > >> as 'user1' and then upload a file to the web directory the owner and > >> group of that file are user1.user1. Since this is the case user2 is > >> able to download the file and make changes to it locally. However, > >> user2 is unable to upload the file because the file owner and group on > >> the server is user1.user1. > >> > >> My question is how do I make it so that when user1 and user2 connect > >> to > >> the server and upload files they are grouped under the 'www' group and > >> not under each username group? I created the group www with the > >> /usr/sbin/groupadd www and then added each user to the the www group > >> using the /usr/bin/gpasswd -a username www. > >> > >> Any ideas on how I can get this to work correctly? > > > > Try this: > > # cd my-upload-directory > > # chgrp www . > > # chmod 2775 . > > > > See how that goes. > > > > That worked! However, what is odd is that user1 is using Dreamweaver > to upload files and user2 is using Fugu to upload files. When using > Fugu it writes the file with permissions of 644. However, if user2 > uses Dreamweaver to upload the file it's permissions are set to 664 > which is correct. > > Any ideas? Maybe Dreamweaver explicitly sets the permissions of the files? Which FTP server are you using? Try using a command-line FTP client and experiment logging in as each user and writing a file to the upload area. What permissions do they get? Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>