Description of problem: can't set options/params through the arguments Version-Release number of selected component (if applicable): fuse-s3fs-0.7-5.fc15 How reproducible: always Steps to Reproduce: 1. don't export env access key/ security key 2. set them using -o Additional info: the following lines in the code should be fixed #Set the env correctly if self.AWS_ACCESS_KEY_ID != None: os.putenv("AWS_ACCESS_KEY_ID",self.AWS_ACCESS_KEY_ID) if self.AWS_SECRET_ACCESS_KEY != None: os.putenv("AWS_SECRET_ACCESS_KEY", self.AWS_SECRET_ACCESS_KEY) if (os.environ.get("AWS_ACCESS_KEY_ID") == None): print "Need to specify AWS_ACCESS_KEY_ID" if (os.environ.get("AWS_SECRET_ACCESS_KEY") == None): print "Need to specify AWS_SECRET_ACCESS_KEY" as python docs says < http://docs.python.org/library/os.html#os.putenv When putenv() is supported, assignments to items in os.environ are automatically translated into corresponding calls to putenv(); however, calls to putenv() don’t update os.environ, so it is actually preferable to assign to items of os.environ. the code above set's env with putenv then read it with environ the docs says just set it with environ and it will call putenv so it should be if self.AWS_ACCESS_KEY_ID != None: os.environ["AWS_ACCESS_KEY_ID"]=self.AWS_ACCESS_KEY_ID if self.AWS_SECRET_ACCESS_KEY != None: os.environ["AWS_SECRET_ACCESS_KEY"]=self.AWS_SECRET_ACCESS_KEY
fuse-s3fs-0.7-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/fuse-s3fs-0.7-6.fc15
Package fuse-s3fs-0.7-6.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fuse-s3fs-0.7-6.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/fuse-s3fs-0.7-6.fc15 then log in and leave karma (feedback).
fuse-s3fs-0.7-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.