Bug 47734 - Many files in SVN tree have executable permissions
Summary: Many files in SVN tree have executable permissions
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: unspecified
Hardware: All All
: P2 trivial (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 05:05 UTC by Nico R.
Modified: 2009-09-13 09:09 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico R. 2009-08-25 05:05:24 UTC
There are many files in the SVN tree which are marked executable (have the svn:executable property set), but which should not be. Checking them out causes the executable bit to be set for them on filesystems which support it.

There are 562 such files in trunk at the moment.

The flag can be removed in batch using
trunk$ svn pd 'svn:executable' $(find -name .svn -prune -or -type f ! -name \*.sh -print0 | xargs -0 svn pg 'svn:executable' | cut -d ' ' -f 1)

There is one shell script, ‘trunk/maven/mvn-deploy.sh’, which should stay executable, of course, that’s why the pattern ‘*.sh’ is excluded.


Executable permissions for files on branches should be checked/fixed, too. I have only looked at the trunk.
Comment 1 Yegor Kozlov 2009-09-13 09:09:04 UTC
Good catch, thanks. 

unnecessary svn:executable flags have been removed in  r814335

Regards,
Yegor