| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Dec 24, 2009
Posts: 2
![]() |
New MacBook Pro with Snow Leopard.
I've enabled the root user to rename / organize my home directory the way I like it. In this case, I renamed "Movies" to "video", and every so often the folder "Movies" reappears in my home directory, annoying the crap out of my OCD hard drive organization soul. I have to go back and rm -rf it as root or sudo - I can't just drag it to the trash because I get a "(folder name) can’t be modified or deleted because it’s required by Mac OS X". Yeah, whatever, I'm root, suck it, Mac OS. But I would like to keep this folder from coming back. I'm from a Windows administration background, where I could just set up an auditing log to see what process was creating the file...is there some way to do this on OSX? Or should I just create a hidden folder named "Movies" and chmod the heck out of it so nothing can overwrite it and I don't have to be annoyed by it anymore? Thanks! Last edited by sparkyvision; 12-24-2009 at 12:19 AM. |
| QUOTE Thanks | |
|
Member Since: Nov 15, 2009
Location: North Louisiana, USA
Posts: 4,026
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4
|
The Unix geeks (gurus
) around here may have a better answer but I think that folder is going to keep re-spawning. The OS is expecting that folder to be present. Some other software (such as iMovie and Front Row) expects it as well. I wonder if it would be possible to make the folder invisible? That way you don't see it but it is still present.
Sylvester Roque Former Contributing Editor About This Particular Macintosh No matter what time it is where I am it's early morning somewhere in the world. At that hour of the morning follow my advice at your own risk. Anything sounds good before your first cup of coffee |
| QUOTE Thanks | |
![]() Member Since: Jul 30, 2009
Location: Wisconsin
Posts: 4,862
![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: Mac Mini Core 2 Duo
|
|
| QUOTE Thanks | |
![]() Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 22,038
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1
|
Yep, that's a system folder. Anytime something runs that expects that folder to be there, it's going to pop back up again. Slydude has a good idea to try. Rename it with a dot in front of it and see it that'll work.
I cannot be held responsible for the things that come out of my mouth. In the Windows world, most everything folks don't understand is called a virus. Last edited by bobtomay; 12-24-2009 at 10:08 AM. |
| QUOTE Thanks | |
![]() Member Since: Dec 24, 2009
Posts: 2
![]() |
Edited visudo to allow a specific script to be run without asking for permission. sparky localhost=(root) NOPASSWD: /Users/sparky/scripts/delete-annoying-folders-dammit Then created the script: #!/bin/sh rm -rf /Users/sparky/Movies rm -rf /Users/sparky/Pictures Set the execute bit, added the script as a login hook, PROBLEM GONE. Woo! |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| iphoto 5 - reinstalled OS and need to import previous library and folders for iPhoto | misteratm | Images, Graphic Design, and Digital Photography | 3 | 10-31-2009 10:55 PM |
| OSX sharing folders automatically | shonamelissa | Internet, Networking, and Wireless | 6 | 10-15-2009 11:08 AM |
| want to move the contents of a LOT of folders, but not the folders | roxxan23 | OS X - Operating System | 2 | 05-30-2009 08:30 PM |
| entourage will not show public folders! help! | monkey109 | OS X - Apps and Games | 1 | 07-09-2008 02:56 PM |
All times are GMT -4. The time now is 10:20 AM.
Powered by vBulletin