Page 1 of 1

Changing default file permissions - linux

Posted: Thu Aug 04, 2011 8:59 pm
by rabidsloth
We're running WingFTP Corporate on an Ubuntu 10.04 box.

2 things:

1: I turned on Enable SITE CHMOD, and every time I've tried to change permissions on a file via a FTP client, it says that it does it but the permissions don't change. Not sure why this isn't working...

2. Is there anyway to change the default permissions on uploaded files to anything other than 644?

Thanks.

Re: Changing default file permissions - linux

Posted: Fri Aug 05, 2011 5:20 am
by FTP
OK, let me answer your questions:

1. I don't know which ftp client you are using, if you use our FTP Rush, you just need to click on "Tool > Send Raw Command", then enter "SITE CHMOD 777 YourFilename".

2. Add a lua script on the event "OnFileUploaded": os.execute("chmod 777 %PathName")