epike on Fri, 7 Dec 2001 17:20:18 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] permissions and apache


> 
> 
> Permissions are set to 664 so that we should be able to edit each other's files and upload over the others files. The problem is we can't upload over each others files...when the remote file is owned by the other person... (using the windows version of non-free SSH, it has the best windows gui and we're non-profit so it's free to us) but we're in the same group and the group has the same permissions as the owner. Does the remote machine first delete the old file and rewrite the new file (only the owner should be able to delete a file right?)? Does it open the file for overwriting? Why is this not working? 
> 
> Thanks

how about the directory permissions..basically you have to have
write permission to the directory to change file entries, since 
removal/addition of files means writing to the directory "file".

chmod +t {directory} will also enforce that only the owner
can remove files in {directory}

JondZ


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug