I had similar issues setting permissions when users uploaded files via ftp. I ended up moving to proftp (open source) product, and this resolved all of my permissions problems with ftp users.
If you are not familiar with the product, but are interested, there is a good write up on how to do an install at:
http://www.everythingsolaris.org/
click on "articles", then click on "upgrading to proftpd"
It looks like it's an issue of the default permissions that ftpd is allowed to assign; every file created by ftpd on Solaris, as far as I can tell, is given permission 644 by default, and that's by design. I'll look at proFTP, but I'm not sure that will be an option in our environment.
Meanwhile, I found this suggestion on another site.
1) First save the original in.ftpd
mv /usr/sbin/in.ftpd /usr/sbin/in.ftpd.orig
2) Create the script so that its contents look like:
#!/bin/sh
umask 022
exec /usr/sbin/in.ftpd.orig3) Make sure the script is executable:
chmod 755 /usr/sbin/in.ftpd
I tried this but it didn't seem to work.
I've also found that I can set ftpd's default permission in a file called /etc/default/ftpd, but I haven't found what exactly I should put into that file.
-- Richard S. Crawford Programmer III UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C Sacramento, CA 95816 (916)327-7793
_______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
