Allow access to NTFS formatted external storage

4 Comments

Having your external usb hard drive or usb pen drive formatted with the NTFS file system will certainly put you into trouble. If not problems like being unable to listen to songs on your mp3 auto radio or mp3 hi-fi stereo (normally only able to read FAT32 formatted drives), you might not be able to create or change existing files on different computers (or under different users).

This problem has two solutions:

  1. Backup the data, format the drive to FAT32 and restore the data back into the drive – the only solution if you want auto-radios and hi-fi equipment to read your drive contents.
  2. Make NTFS permissions less restrictive.

The first one is the easier one if you have enough space to backup your data.

The second one is a bit more tricky to implement but I’ve found a web page that has very clean instructions on how to do it. So follow the link if you want this solution:

http://ask.metafilter.com/38252/Can-not-delete-files-on-portable-drive

To ensure that I have these instructions all the time, I copy/pasted here:

What I suspect is happening is this:

1. Your external drive is formatted with the NTFS file system, which supports access restrictions.

2. The permissions on the files in question have become set to “Read and Excecute” for Users or Everyone (probably Everyone), and to Full Control for one specific user. These settings are typical for files created inside the My Documents folder of Computer Administrator users who haven’t elected to make their files private.

3. The folders you’re working with have Create Files and Create Folders permissions for Everyone on themselves and their subfolders, and Full Control permissions for the dummy user CREATOR OWNER on subfolders and files. Which means that anybody can create files or folders, but only the user who created them can change or delete them. This is a fairly typical setting for the root folder of newly formatted drives.

You can check the permissions on any file by right-clicking the file, selecting Properties, then clicking on the Security tab. If you don’t have a Security tab on file or folder property sheets, you need to do one of two things depending on whether you’re running XP Home or Professional.

For XP Professional: open a Windows Explorer window, then select Tools->Folder Options->View; scroll down to the bottom and turn off Simple File Sharing.

For XP Home: run the “Security for folders and files” patch from this website.

Things you should know about NTFS permissions to make sense of what’s going on:

1. When you copy a file into a folder on an NTFS volume (using copy/paste or right-click-drag/drop/Copy File(s) Here), the file will inherit permissions from the folder you copy it into.

2. When you move a file from one folder to another (using cut/paste or drag/drop), the file will keep its existing permissions.

3. As well as a bunch of permissions, every NTFS file and folder has an owner, which can be a user or a security group. The owner has full control over the file or folder regardless of any permissions that are set on it.

4. There are some users and security groups built in to Windows (Everyone, Administrator, Administrators etc) that have predefined Security ID’s which are the same on all machines. Other users and groups have SID’s derived from that of the machine they’re defined on. So if you give user Joe permission to access a file on machine A, that doesn’t necessarily mean you can plug the drive into machine B, log on as Joe and get access to the same file.

5. Members of the Administrators security group have the right to take ownership of any file or folder, either for themselves or for the Administrators group as a whole.

For an external drive that is going to be used on several different computers, I recommend you set the NTFS permissions very loose, and rely on your physical possession of the drive for the security of its files:

1. Connect the drive to any Windows XP machine on which you have a Computer Administrator logon.

2. Log on as an administrator.

3. Double-click My Computer.

4. Right-click the drive and select Properties. If the property sheet doesn’t have a Security tab, enable them as described above and then come back to this step.

5. Click the Security tab.

6. Click the Advanced button. This should bring up the Advanced Security Settings dialog for the drive, which will have some more tabs on it.

7. Click the Owner tab.

8. Click the line for the Administrators group, check “Replace owner on subcontainers and objects”, and click OK. If you’re asked about replacing existing permissions with ones giving you Full Control, click Yes.

9. The Advanced Security Properties box should eventually disappear, leaving you looking at Security tab on the original Properties sheet again. For each entry in the “Group or user names” list in turn, click on that entry and click Remove.

10. Click Add. This will bring up the “Select Users, Computer or Groups” dialog.

11. Under “Enter the object names to select”, type Everyone and click OK. You should see that Everyone has been added to the list of users and groups.

11. Click Everyone, and check Full Control.

12. Click Apply.

13. Click Advanced again to get the Advanced Security Settings dialog box back.

14. Check “Replace permission entries on all child objects with entries shown here that apply to child objects” and click OK.

15. Click OK.

You should now be able to read and write all the files in that folder and all its subfolders regardless of which computer you’re using or who you’re logged on as.
posted by flabdablet at 9:09 PM on May 15, 2006 [1 favorite]

If you want to make the permissions a little more conventional, you can repeat steps 10 and both elevens (oops) to add Full Control permissions for Administrators and SYSTEM. But since Everyone is, well, everyone, this isn’t strictly necessary.
posted by flabdablet at 9:13 PM on May 15, 2006

Civilization 4 tips and tricks

1 Comment

I’m addicted to Civilization. That’s the only game I keep playing and I played all the games in the series.

Civ 4 is the best one (not surprisingly) but it can be very hard to win when you increase the difficulty level.

Here are some tips and tricks:

  • Secure your cities and resources but remember that military units cost money.
  • Science, new cities and unit upgrades also cost money so keep your eye on the money…
  • Do not ignore terrain defence bonus: do not cross rivers to attack unless your unit has the amphibious promotion or you’re sure it can destroy the defending unit.
  • Make sure your civ builds the Chichen Itza (all civs want this one) and The Pentagon military wonders – at least make sure you know who built them.
  • Chop your forests and jungles for increased production in your city. Do it when you need it for building wonders for example. To chop faster use the chop action instead of any of the other actions that also remove forests and jungles.
  • Do not use your special people immediately when they are born. Use great engineers to build wonders and great scientists to build academy improvement (each city can have one). Great artists can be used to create great work in cities you need to expand your borders (to access resources).
  • Build cottage terrain improvement for money.
  • Use catapults, cannons and artillery to destroy city defence and damage target city units (when those units attack a city they produce collateral damage on other defending units). You’ll have to build many of them because you’ll probably lose them – but you’ll keep the units that can defend your conquered cities.
  • Make sure you expand your civ but don’t do it too quickly because you need to pay for city maintenance!
  • Go to war early. Control your continent. Even if you get behind in science earlier in the game (make sure you have the state-of-the-art military units). Attacking from sea is much more difficult.
  • Use bombers and fighters to find enemy units using recon missions.
  • Build the Internet!

There are many more tricks to this legendary game! Explore, try new approaches to the game and let me know about your findings!