[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] OT: FTP from Command line



Ryan Verner wrote:

phoenix hawk wrote:

how about a
chmod -R 600 %d/*
recursively sets the contents of directory $d to 600 (or get rid of the -R)...


Which will, of course, need to occur *after* the files are uploaded. Currently, the chmod is on the directory itself, before the files are uploaded.

besides this, i made a mistake above too, it should be $d, not %d, and yes, you're right, chmod should occur after the files are copied (which leads me to suspect that the original guy had no clue what the scripts were doing).

didn't wanna jam up the list with correcting a very minor mistake, but since there's more than one made, well, it's time to clarify :D thanks... :D


Regards.