From: Phil (phil at domain redbrick.dcu.ie)
Date: Fri 05 May 2000 - 14:21:58 IST
Cormac McClean's [cmcclean at domain ait.ie] 31 lines of dribble included:
> I have an intranet ftp/web server set up for a class group
> here in AIT (running on a faithful 486, RH 6.0). Students
> have user accounts on the box to upload Web files via ftp.
> They should then be able to browse the files at
> A problem exists with the ownership given to uploaded
> files. For example, if I ftp in a file, the ownership
> is set to user: cormac and group:cormac. For students
> to be able to browse their files, the group owner
> needs to be nobody.
I don't think the file needs to be owned by nobody. It just needs the
permissions changed so that nobody can read the file.
Basically you have to set the default umask of uploading files to 033
(that's a permission of 744 .. -rwxr--r--)
Most ftp daemons allow them to set this themselves with
SITE UMASK 033
or something similar.
Making sure their home directory and ~/public_html is at least 711
There is also a command line parameter (at least with wu-ftpd) to set a
So edit /etc/inetd.conf and add in the -u parameter.
e.g. in mine it'd be
ftpd -l -u033
Hope this helps.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:02 GMT