{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/4507","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/4507/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/4507/comments","events_url":"https://api.github.com/repos/minio/minio/issues/4507/events","html_url":"https://github.com/minio/minio/issues/4507","id":234502832,"number":4507,"title":"GET ObjectAcl fails with \"Not Implemented\" on minio server","user":{"login":"taisph","id":814148,"avatar_url":"https://avatars2.githubusercontent.com/u/814148?v=3","gravatar_id":"","url":"https://api.github.com/users/taisph","html_url":"https://github.com/taisph","followers_url":"https://api.github.com/users/taisph/followers","following_url":"https://api.github.com/users/taisph/following{/other_user}","gists_url":"https://api.github.com/users/taisph/gists{/gist_id}","starred_url":"https://api.github.com/users/taisph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taisph/subscriptions","organizations_url":"https://api.github.com/users/taisph/orgs","repos_url":"https://api.github.com/users/taisph/repos","events_url":"https://api.github.com/users/taisph/events{/privacy}","received_events_url":"https://api.github.com/users/taisph/received_events","type":"User","site_admin":false},"labels":[{"id":574010253,"url":"https://api.github.com/repos/minio/minio/labels/priority:%20medium","name":"priority: medium","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/minio/minio/milestones/14","html_url":"https://github.com/minio/minio/milestone/14","labels_url":"https://api.github.com/repos/minio/minio/milestones/14/labels","id":2426550,"number":14,"title":"Future","description":"This is like the backlog. We pull items out of this milestone and include in ongoing releases.","creator":{"login":"deekoder","id":1700901,"avatar_url":"https://avatars2.githubusercontent.com/u/1700901?v=3","gravatar_id":"","url":"https://api.github.com/users/deekoder","html_url":"https://github.com/deekoder","followers_url":"https://api.github.com/users/deekoder/followers","following_url":"https://api.github.com/users/deekoder/following{/other_user}","gists_url":"https://api.github.com/users/deekoder/gists{/gist_id}","starred_url":"https://api.github.com/users/deekoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deekoder/subscriptions","organizations_url":"https://api.github.com/users/deekoder/orgs","repos_url":"https://api.github.com/users/deekoder/repos","events_url":"https://api.github.com/users/deekoder/events{/privacy}","received_events_url":"https://api.github.com/users/deekoder/received_events","type":"User","site_admin":false},"open_issues":46,"closed_issues":4,"state":"open","created_at":"2017-04-01T00:22:30Z","updated_at":"2017-06-08T16:32:45Z","due_on":"2017-12-31T08:00:00Z","closed_at":null},"comments":3,"created_at":"2017-06-08T11:56:36Z","updated_at":"2017-06-09T08:25:54Z","closed_at":null,"body":"I am using Laravel 5.3 Framework Filesystem with the AWS S3 driver and when I try to move or copy files, I get the error below from the minio server.\r\n```\r\nGET http://localhost:9000/temp/somefile.txt?acl resulted in a '501 Not Implemented' response\r\n```\r\n\r\n## Expected Behavior\r\nI expect the file operation to be completed without errors as the Amazon S3 service would have.\r\n\r\n## Current Behavior\r\nFails to move or copy the file or directory with error 500 Not Implemented.\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Grab a laravel skeleton application.\r\n2. Configure S3 disk to use minio server.\r\n3. Use `artisan tinker` and run\r\n```php\r\n\\Storage::disk('s3')->put('somefile.txt'); \\Storage::disk('s3')->move('somefile.txt', 'someotherfile.txt');\r\n```\r\n4. Curse at the error while waving your fist at the screen.\r\n\r\n## Context\r\nI need to generate and store arbitrary number of PDF files in a temporary directory and move them to the final directory when all files have been stored.\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used (`minio version`): 2017-05-05T01:14:51Z\r\n* Environment name and version (e.g. nginx 1.9.1): latest docker image\r\n* Server type and version: latest docker image\r\n* Operating System and version (`uname -a`): latest docker image\r\n"},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/307328258","html_url":"https://github.com/minio/minio/issues/4507#issuecomment-307328258","issue_url":"https://api.github.com/repos/minio/minio/issues/4507","id":307328258,"user":{"login":"taisph","id":814148,"avatar_url":"https://avatars2.githubusercontent.com/u/814148?v=3","gravatar_id":"","url":"https://api.github.com/users/taisph","html_url":"https://github.com/taisph","followers_url":"https://api.github.com/users/taisph/followers","following_url":"https://api.github.com/users/taisph/following{/other_user}","gists_url":"https://api.github.com/users/taisph/gists{/gist_id}","starred_url":"https://api.github.com/users/taisph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taisph/subscriptions","organizations_url":"https://api.github.com/users/taisph/orgs","repos_url":"https://api.github.com/users/taisph/repos","events_url":"https://api.github.com/users/taisph/events{/privacy}","received_events_url":"https://api.github.com/users/taisph/received_events","type":"User","site_admin":false},"created_at":"2017-06-09T08:25:54Z","updated_at":"2017-06-09T08:25:54Z","body":"FWIW, I opted for a quick-and-dirty solution by overriding the visibility fetch in the copy method of the `flysystem-aws-s3-v3` adapter that Laravel 5+ uses: https://github.com/Casalogic/flysystem-aws-s3-v3/blob/feature/override-visibility-on-copy/src/AwsS3Adapter.php#L402\r\n\r\nThey basically fetch the ACL of the object they want to copy in order to apply the same visibility on the destination object.\r\n\r\nI haven't worked with S3 before but if you can point me to an explanation of what you are suggesting as a replacement, then I'll set off some time to make a proper PR for `thephpleague/flysystem-aws-s3-v3`."}}
{"actor":{"display_login":"taisph"}}