Changing default file permissions - linux

Please post here if you have problems in using Wing FTP Server.
Post Reply
rabidsloth
Posts: 7
Joined: Tue Jun 14, 2011 5:06 pm

Changing default file permissions - linux

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Changing default file permissions - linux

Post 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")
Post Reply