[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] OT: FTP from Command line
- Subject: RE: [cobalt-users] OT: FTP from Command line
- From: "William J.A. Brillinger" <billy@xxxxxxxxxx>
- Date: Wed Nov 19 14:38:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
At 04:21 PM 19/11/03 -0600, you wrote:
What commands work is not only dependent upon the ftp client. It can also
be specific to the FTP server. I.e. Microsoft's FTP server works different
from Mac's FTP server, etc. Even the different open source server may
implement the FTP standard differently.
I don't know what ftp server you are attempting to connect to, but you may
be able to get the result you want by setting the 'umask' option in the
configuration file for the server.
This specifies what permissions a file has by default when you upload it.
With proftpd you can even specify different umask for different directories.
I believe you would want umask 077 to prevent all permissions for group
and the world.
HTH,
Vidar
I'm going from a RaQ4 to a RaQ4.
The command: "chmod 600 thefilename" works fine. The problem is the
'recursive' aspect. It doesn't like the -R or the wildcard.
I have solved the problem for now by 'cdup' and then chmod'ing dir after
the transfer. I was hoping to assign the permissions to the files in the
dir instead of the dir itself.
- Bill
---------------------------------
William J.A. Brillinger
Precision Design Co.
E-Mail: mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net