Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2985] The builder need to add write permission to files copied from the project resources directory

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2011-08-31T18:31:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsacl, build, builder.py, chmod, permissions
ReporterRob Gabbard
AssigneeTony Guntharp
Created2011-08-30T05:57:27.000+0000
Updated2016-03-08T07:47:59.000+0000

Description

Some source control systems (e.g. Perforce) set the file access permissions to Read Only (i.e. r--r--r--, 444). This attributes carries over to the files that are copied to the build folders which causes numerous issues as subsequent builds attempt to overwrite those files. The builder scripts should modify the permissions on the newly created build files and add write permission for the owner.

Comments

  1. Paul Dowsett 2011-08-31

    Rob You should exclude all files in the build folder from your VCS. I am closing as invalid, although feel free to reopen if I have misunderstood. Thanks
  2. Rob Gabbard 2011-09-01

    My build folder is not in my VCS. The issue is that my VCS sets files to read-only at check-in (as many do). When those files are copied to the build directory by builder.py, they retain their read-only state. The next build you do after that fails because builder.py is trying to overwrite a read only file.
  3. Paul Dowsett 2011-10-07

    Closing due to inactivity.

JSON Source