Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions inconsistent on FTP server / CHMOD results in inaccessible file when uploading zipped file #11

Closed
themorgantown opened this issue Jan 15, 2013 · 2 comments

Comments

@themorgantown
Copy link

Uploading a .app file (which creates a zip file) results in a chmod/octal of 600. This cannot be downloaded.
Uploading a normal .zip file results in an accessible 604 octal file.

It seems that permissions should always be 644.

@anthonysomerset
Copy link
Collaborator

i just noticed this too, will look at the code

@anthonysomerset
Copy link
Collaborator

the issue is the zip file is created on the local system with 600 permissions and the upload reflects that

it otherwise respects the permissions of the file being uploaded so if the file is 604 to start with then thats the permissions it will get on the target system
submitting a pull request now that fixes this for files that generate a zip file (eg multi file uploads or folders/.app files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants