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

Set chmod and chown after file upload #5

Closed
jarus opened this issue Jan 12, 2013 · 3 comments
Closed

Set chmod and chown after file upload #5

jarus opened this issue Jan 12, 2013 · 3 comments

Comments

@jarus
Copy link

jarus commented Jan 12, 2013

Hi,

it's great that fileshuttle is now open source. Thanks!
On my server I must set special permissions and ownerships for the file that the webserver is allowed to serve the file. Maybe someone could add a field to declare the default chmod value, the owner user and owner group.

Regards,
Jarus

@anthonysomerset
Copy link
Collaborator

what permissions do you need to set?

From my testing it will upload the file with the same posix permissions as of the source file

in most cases thats 644 (world readable) - there is a bug for generated zip files open in #11 and fixed in pull request #12 - wonder if that solves your problem?

i had a look at the chmod issue this morning will fixing the other bug and i have to say its beyond my skill set to implement at this stage

@anthonysomerset
Copy link
Collaborator

I'm following this up

you cannot set owner or group owner via FTP/SFTP so its only the posix permissions that can be set, please confirm if the current build: http://michaelvillar.github.com/fileshuttle/fileshuttle-2.1.zip fixes the problems for you?

@jarus
Copy link
Author

jarus commented Feb 21, 2013

Jep this fixed the problem.

@jarus jarus closed this as completed Feb 21, 2013
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

2 participants