Home Forums OS X Server and Client Discussion Questions and Answers How do I force a group on directories created by ftpd?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #354856
    Anonymous
    Participant

    I have an FTP root direcotory at /Volumes/HD1/FTP/. The permissions for FTP are owner: “admin”(R/W/X), group: “ftp”(none), everyone(none).

    The server does not have anonymous access. Each ftp user has a home directory inside /Volumes/HD1/FTP/
    The ftp users are NOT members of the group ftp. That group is for other users that have privileges to read this directory over afp://
    The problem is that when ftp users create sub-directories in their home folder the directories are created with the these permissions: owner:”ftp-user1″(R/W/X), group: “ftp”(R/X) and everyone(R/X).

    How can I give members of group ftp write access to these directories?

    #354858
    Cabbage
    Participant

    You can write a shell script and set it up as a cron job that will chgrp/chown/chmod any new folders that are created on the HD1 volume.

    #354881
    Anonymous
    Participant

    Could you please elaborate on how I would do that?

    #354883
    Cabbage
    Participant

    Ehh, I dunno. Just something that other people have recommended. Maybe someone else can enlighten us.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed