On my public FTP server, I have the incoming directory with only
u+wx (so they can't read, just write).  There are no permissions for
group or operator (d-wx------)

    What do I have to set so that created directories have the same
permissions?  What's happening now is that someone can log in as
anonymous, create a new directory (say 'temp') under the incoming one
and that one will have the following permissions on it:  drwxr-xr-x
Any files put in that directory will have -rw-r--r-- on them.

    If someone knows there's a 'temp' directory in there, they can log
in, chdir to it and read anything that someone else might've put in that
directory.  At least if the (newly created) directory also has the same
permissions as the parent one (d-wx------), they can chdir to it, but
can't see anything in it.  (and while this doesn't stop leechers looking
for storage FTP servers, it may at least deter them)

--
H | Hi, I'm currently out of my mind.  Please leave a message.  BEEEEP!
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  Director of Internet Operations / SysAdmin    .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave, #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to