View Issue Details

IDProjectCategoryView StatusLast Update
0000842OpenFOAMBugpublic2014-02-10 13:19
Reporterjherb Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSOpenSuseOS Version11.1
Summary0000842: two directories which name differ only by case of letter (lower case/upper case)
DescriptionThere are a view directories in the OpenFOAM sources which differ only by their case spelling (lower/upper case). This causes problems if these directories are accessed from Windows via samba.

To find all relevant directories, the following bash command can be used:
find . -type d | while read d ; do find $d -type d -mindepth 1 -maxdepth 1 | while read d2 ; do count=$(ls -d $d/* | egrep -ci "/`basename $d2`$"); if [ "$count" -gt 1 ] ; then echo $d $d2; fi; done ; done

These are the directories I found:
./applications/test ./applications/test/Dictionary
./applications/test ./applications/test/dictionary
./src/OpenFOAM/matrices ./src/OpenFOAM/matrices/LduMatrix
./src/OpenFOAM/matrices ./src/OpenFOAM/matrices/lduMatrix
./src/OpenFOAM/meshes/primitiveMesh ./src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch
./src/OpenFOAM/meshes/primitiveMesh ./src/OpenFOAM/meshes/primitiveMesh/primitivePatch
./src/finiteVolume/finiteVolume/gradSchemes ./src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad
./src/finiteVolume/finiteVolume/gradSchemes ./src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad
./src/thermophysicalModels/solidSpecie/reaction ./src/thermophysicalModels/solidSpecie/reaction/Reactions
./src/thermophysicalModels/solidSpecie/reaction ./src/thermophysicalModels/solidSpecie/reaction/reactions
./src/thermophysicalModels/specie/reaction ./src/thermophysicalModels/specie/reaction/Reactions
./src/thermophysicalModels/specie/reaction ./src/thermophysicalModels/specie/reaction/reactions

Would it be possible to rename one version of each of these directories in a future release of OpenFOAM?
TagsNo tags attached.

Activities

henry

2013-05-07 12:57

manager   ~0002176

The directories and files are named to be consistent with the class names they contain. If you run on GNU/Linux or other open-source OS you will be provided with a modern case-sensitive file system. On closed-source commercial OSs case-sensitivity of the file-system is usually an option which you can choose. Of course we recommend you upgrade to an open-source OS rather than struggle with closed-source commercial OSs.

Issue History

Date Modified Username Field Change
2013-05-07 12:43 jherb New Issue
2013-05-07 12:57 henry Note Added: 0002176
2013-05-07 12:57 henry Status new => closed
2013-05-07 12:57 henry Assigned To => henry
2013-05-07 12:57 henry Resolution open => no change required