Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > "Illegal Filename" when running FSCK from single user mode?

"Illegal Filename" when running FSCK from single user mode?
Thread Tools
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
Dec 14, 2005, 05:56 PM
 
I keep getting this error message about a "Illegal filaname" when running fsck from the command line in SUM.

I do have the Adobe Creative Suite installed and there is a known issue with PS and Illustrator CS2 where the Vietnamese license agreement in the Legal folder contains illegal file names. I assumed that deleting these files would fix the issue, but it didn't. On one machine this did fix the issue, but on another one it didn't.

Does anyone know of any application that will tell me what the path to this illegal file is? I really don't want to format the drive and reinstall everything again! Tech Tool Pro reports no errors as it doesn't seem to check for illegal filenames. Does DiskWarrior do this?

Any suggestions?
--Laurence
     
Fresh-Faced Recruit
Join Date: Dec 2001
Status: Offline
Reply With Quote
Dec 14, 2005, 06:59 PM
 
You might check for the same filename as earlier, only with ._ (dot underscore) in front of it. You might well have to go into the Terminal to do this. Open Terminal.app in the Applications->Utilities folder, drag the folder containing the problem files to the terminal app. If you must do this from SUM, then I suppose you know where the path is located anyway.

This will list the path to the folder in question in the terminal. Back the cursor to the front of the line and type "ls -a " so that the line looks like:

ls -a /some/path

You should see a listing of every file in that directory. Now look for those "._" files. If you see a file of the same name with "._" in front, you might try to remove it by typing:

rm -i ._filename*

where filename is the first unique part of the filename relative to every other similar file in the directory. You will be prompted to delete the file. If you see any other files listed than the one you want to delete, type "n" at the prompt.
     
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
Jan 6, 2006, 06:03 PM
 
It turns out that it was a Bridge update or something that put the same legal folder with illegal names in the Documents folder of the user account that installed it.
--Laurence
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:05 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2