Issue 52 in google-docs-upload: files and folders are read only after running script

3 views
Skip to first unread message

google-do...@googlecode.com

unread,
Jul 20, 2011, 12:15:17 PM7/20/11
to google-docs-u...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 52 by samco...@gmail.com: files and folders are read only after
running script
http://code.google.com/p/google-docs-upload/issues/detail?id=52

What steps will reproduce the problem?
1. run script on OS X with --recursive (sorry I only tested on OS X)
2. folder and all recursive folders are read only
3.

What is the expected output? What do you see instead?
should not change permissions. folder and all recursive folders are read
only.

What version of the product are you using? On what operating system?
google-docs-upload-1.4.6.jar. OSX

Please provide any additional information below.
thanks this is awesome!!

google-do...@googlecode.com

unread,
Jul 21, 2011, 9:11:04 PM7/21/11
to google-docs-u...@googlegroups.com

Comment #1 on issue 52 by oliver.clarke: files and folders are read only

I'm also experiencing this issue running under linux. Specifically it
removes write permission from the folder which is specified in the path
argument.

Example:

777 folder permissions go to 555
755 folder permissions go to 555

google-do...@googlecode.com

unread,
Jul 21, 2011, 9:15:05 PM7/21/11
to google-docs-u...@googlegroups.com

Comment #2 on issue 52 by oliver.clarke: files and folders are read only

Ok - I ought to RTFM before I post. I see that there is a
folder.setReadOnly() on line 379 of GoogleDocsUpload.java

Can't understand why this would be desired functionality though?

Thanks,

google-do...@googlecode.com

unread,
Jul 24, 2011, 9:42:41 PM7/24/11
to google-docs-u...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 52 by anton.be...@gmail.com: files and folders are read

Thank you for pointing this out. That was a silly bug, I'm not even sure
how that line appeared there. I've removed it in 1.4.7, please try it out.

Thanks,
Anton

Reply all
Reply to author
Forward
0 new messages