Changing default file permissions - linux

Please post here if you have problems in using Wing FTP Server.

Changing default file permissions - linux

Postby rabidsloth » Thu Aug 04, 2011 8:59 pm

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.
rabidsloth
 
posts 7
 
joined Tue Jun 14, 2011 5:06 pm

Re: Changing default file permissions - linux

Postby FTP » Fri Aug 05, 2011 5:20 am

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")
FTP
Site Admin
 
posts 1242
 
joined Tue Sep 29, 2009 6:09 am


Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron