sym
08-24-2001, 11:31 AM
I have written a small Java program that recursively parses a directory and :
1) removes spaces from names, and
2) makes all names lower case
I run this program on a test directory tree I have setup in the /tmp directory, and it works great. I attempt to run this on a real directory, and it says it is changing the names, but it doesn't.
Any ideas on why this happens? The renaming function is getting a true feedback, so it thinks it is succeeding. I can't figure out why it would work for one directoy, but not another.
I am running it as root, so I shouldn't have permisson problems. Also, I would think that it would fail if it didn't have permission.
1) removes spaces from names, and
2) makes all names lower case
I run this program on a test directory tree I have setup in the /tmp directory, and it works great. I attempt to run this on a real directory, and it says it is changing the names, but it doesn't.
Any ideas on why this happens? The renaming function is getting a true feedback, so it thinks it is succeeding. I can't figure out why it would work for one directoy, but not another.
I am running it as root, so I shouldn't have permisson problems. Also, I would think that it would fail if it didn't have permission.