Re-gain permission to a Windows volume

Ever lost Windows access to an entire partition?  It’s not a common issue, but it does creep up with USB drives as they move from one system to another.  If you find yourself in this situation you can take ownership of the entire volume and reset all of the permissions either via the command line (as administrator) as shown below (drive letter in this example is E):


This can also be done via the GUI:

  • Right click on the drive letter in Windows Explorer
  • Select “Properties”
  • Click on the “Security” tab
  • At the bottom of the window that pops up, select “Advanced”
  • In the new window that pops up, click on “Owner”
  • Select “edit”
  • Choose your account name.
  • Clock the checkbox to “Replace owner on subcontainers and objects”
  • Hit Apply.

Bind 9.9 – Binary DNS Slave file format

With BIND 9.9.x, the slave zone files are now saved in a default raw binary format.  This was done to improve performance, but at the sacrifice of being able to easily view the contents of the files.

With the combination of caching software solutions (sssd, nscd, cached zone files, ttl’s, etc), it can make debugging more difficult.  In order to view the raw binary content, it must be converted to text first:

named-compilezone -f raw -F text -o

It’s an added layer of complexity, but if you need the microscopic performance boost, that’s the way to go. For those of us that don’t see any issues with the text file format, simply update the named.conf files for your slave zones to include the line:

masterfile-format text;

For example:

        zone "" in {
                type slave;
                notify no;
                file "data/";
                masterfile-format text;
                masters {; };