On Thu, Jun 19, 2008 at 04:37:41AM -0700, Jason wrote: > I did. I also added a group and user at one point in testing, as well as the > * * and neither seemed to matter.
I just tested this and was able to get a FTP'ed file plopped into a directory with your requested 0774 permission. The key is (from the man page): The upload keyword only applies to users who have a home directory of root-dir. root-dir may be specified as "*" to match any home directory. So in your case, it sounds like you have multiple individuals, each with their own accounts (and their own home directories) that want to FTP files to a common destination directory, and you want those files to have 0744 permission. This worked for me: upload * * yes * * 0774 directive added to /etc/ftpd/ftpaccess. and then: [Client] % ftp localhost Connected to localhost. 220 hercules FTP server ready. Name (localhost:foo): foo 331 Password required for foo Password: 230 User foo logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> put /etc/hosts /var/ftp/hosts [Server] After the FTP % ls -l /var/ftp/hosts -rwxrwxr-- 1 daemon daemon 630672 Jun 19 19:03 /var/ftp/hosts /var/ftp is owned by daemon:daemon on this system: drwxrwxrwx 2 daemon daemon 512 Jun 19 19:03 ftp _______________________________________________ opensolaris-help mailing list [email protected]
