Hello dear Users,
I am for the first time in this forum. I come from Germany. Please excuse my bad englisch. My OS is SCO open Server Release 5.
I have a problem whith FTP and the command "site exec"
if I use the command
"ftp> site chmod 777 /tmp/startkpf.sc
200 CHMOD command successful
.
it is OK and works
but if I use the command
ftp> site exec /tmp/startkpf.sc
I get the following message and nothing is done
200-startkpf.sc
200 (end of 'startkpf.sc')
I linked the file /tmp/startkpf.sc to /etc/ftp-exec with permissions 777
but it does not work.
I have tryed it with root permissions
but it does not work.
777 is not the magic sledgehammer to fix all problems. You have made this file world-writable and had better correct that before someone else overwrites it with things you may not like.
The System is not connectet to Internet only in Local Network.
Therfor it is the permission 777 not interesting.
Thanks for yor warning
Greetings Peter
There are more things than invaders which could alter the file. These file permissions were invented for a reason, long before the internet even existed. They are to prevent you from shooting yourself in the foot.
A program glitch could touch it. You might overwrite it by accident yourself, typing in 'put' instead of 'site exec'. Or any of a thousand things we'd never think of because they don't happen to files which aren't set 777.
In all cases, 'permission denied' is what you'd rather the system do, instead of allowing it to be filled with garbage.
777 is not the magic sledgehammer to solve all problems. Like a real sledgehammer, it makes giant holes.