Bug 47734

Summary: Many files in SVN tree have executable permissions
Product: POI Reporter: Nico R. <n-roeser>
Component: POI OverallAssignee: POI Developers List <dev>
Severity: trivial    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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