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.
Changing default file permissions - linux
-
- Site Admin
- Posts: 2079
- Joined: Tue Sep 29, 2009 6:09 am
Re: Changing default file permissions - linux
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")
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")