I am getting a permission issue with the following code
targetdirectory = '/data/upload'
self.ZIPFileName = targetDirectory + os.sep + "MY.ZIP"
zf = zipfile.ZipFile(self.ZIPFileName, mode='w')
[Errno 13] Permission denied: '/data/upload/MY.ZIP'
The target directory is an NFS mounted directory.
I can manually create a file in that directory with no issues using the same
user
Any ideas?
Python version is 2.7.10. Platform is Centos 7
--
https://mail.python.org/mailman/listinfo/python-list
