[Tinyos-devel] execution flag

Razvan Musaloiu-E. razvanm at cs.jhu.edu
Wed Jun 11 16:40:51 PDT 2008


Hi!

In the tinyos-2.x tree there are a number of files which have the 
execution flag set even if they are not really executable. The CVS 
documentation from Sourceforge [1] indicates in the 'Repository Upkeep and 
Management' section that a bash script can be provided to fix things that 
need direct access to the CVS files. I attached such a script that is 
trying to do clear the permissions. The script has inside a variable 
called ROOT which needs to be pointed to the correct place of the CVS 
repository. Can somebody review it and then submit a ticket with it? :-)

The place were the request needs to be submitted is this one:
 	https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001

[1] http://alexandria.wiki.sourceforge.net/CVS+-+Version+Control+for+Source+Code#tocCVS%20-%20Version%20Control%20for%20Source%20Code15

Thank you!
Razvan ME
-------------- next part --------------
#!/bin/bash

ROOT=/home/tinyos2/tmp/cvsroot/tinyos

( find $ROOT/tinyos-2.x/tos -type f -perm /+x
find $ROOT/tinyos-2.x/doc -type f -perm /+x
find $ROOT/tinyos-2.x/apps -type f -perm /+x | grep -v run | grep -v burn
find $ROOT/tinyos-2.x/support -type f -perm /+x | grep -v bootstrap ) |
while read f
do
    chmod a-x $f
done

chmod a-x $ROOT/tinyos-2.x/tools/tinyos/misc/tos-storage-pxa27xp30.1*
chmod a-x $ROOT/tinyos-2.x/tools/tinyos/misc/tos-check-env.1*
chmod a-x $ROOT/tinyos-2.x/tools/platforms/mica/uisp/kernel/stargate/README*
chmod a-x $ROOT/tinyos-2.x/tools/platforms/mica/cc1000-channelgen/tos-channelgen.c*
chmod a-x $ROOT/tinyos-2.x/tools/tinyos/ncc/nesdoc-py/nesdoc.css*
chmod a-x $ROOT/tinyos-2.x/tools/platforms/mica/cc1000-channelgen/Makefile.am*
chmod a-x $ROOT/tinyos-2.x/tools/release/tinyos-tools.spec*


More information about the Tinyos-devel mailing list