Subsidiary Guarantors - Schedule of Condensed Consolidating Balance Sheets (Detail) (USD $) | Nov. 30, 2013 | Aug. 31, 2013 | Nov. 30, 2012 | Aug. 31, 2012 |
In Thousands, unless otherwise specified |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | $119,389 | $158,537 | $183,831 | $137,540 |
Accounts receivable, net | 103,032 | 125,196 | ' | ' |
Refundable income taxes | 20,890 | 20,890 | ' | ' |
Inventories, net | 185,032 | 130,966 | ' | ' |
Prepaid expenses and other assets | 41,761 | 42,093 | ' | ' |
Amounts due from affiliated companies, net | 495 | ' | ' | ' |
Intercompany | ' | ' | ' | ' |
Total current assets | 470,599 | 477,682 | ' | ' |
Property, plant and equipment, net | 295,406 | 289,132 | ' | ' |
Deferred financing costs, net | 4,496 | 4,803 | ' | ' |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | ' | ' |
Amortizable intangible assets, net | 1,031 | 1,057 | ' | ' |
Deferred turnaround costs & other assets | 10,188 | 11,772 | ' | ' |
Investment in subsidiaries | ' | ' | ' | ' |
Total assets | 793,569 | 796,295 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 1,861 | 1,592 | ' | ' |
Accounts payable | 57,750 | 54,170 | ' | ' |
Accrued liabilities | 24,235 | 18,715 | ' | ' |
Income taxes payable | 6,650 | 8,587 | ' | ' |
Sales, use and fuel taxes payable | 17,020 | 19,247 | ' | ' |
Deferred income taxes | 365 | 365 | ' | ' |
Amounts due to affiliated companies, net | ' | 434 | ' | ' |
Intercompany | ' | ' | ' | ' |
Total current liabilities | 107,881 | 103,110 | ' | ' |
Long term debt: less current installments | 238,325 | 237,114 | ' | ' |
Deferred income taxes | 28,859 | 29,193 | ' | ' |
Deferred retirement benefits | 67,387 | 69,675 | ' | ' |
Total liabilities | 442,452 | 439,092 | ' | ' |
Commitment and contingencies | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | ' | ' | ' | ' |
Preferred stock; $1,000 par value share - shares authorized 25,000; issued and outstanding 14,116 | 14,116 | 14,116 | ' | ' |
Additional paid-in capital | 157,251 | 159,844 | ' | ' |
Retained earnings | 187,012 | 190,333 | ' | ' |
Accumulated other comprehensive loss | -7,262 | -7,090 | ' | ' |
Total stockholder's equity | 351,117 | 357,203 | ' | ' |
Total liabilities and stockholder's equity | 793,569 | 796,295 | ' | ' |
United Refining Company [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | 103,148 | 141,386 | 173,127 | 122,219 |
Accounts receivable, net | 66,213 | 83,800 | ' | ' |
Refundable income taxes | 20,890 | 21,944 | ' | ' |
Inventories, net | 153,285 | 101,891 | ' | ' |
Prepaid expenses and other assets | 35,959 | 37,860 | ' | ' |
Amounts due from affiliated companies, net | 763 | ' | ' | ' |
Intercompany | 136,279 | 133,159 | ' | ' |
Total current assets | 516,537 | 520,040 | ' | ' |
Property, plant and equipment, net | 182,823 | 179,326 | ' | ' |
Deferred financing costs, net | 4,496 | 4,803 | ' | ' |
Goodwill and other non-amortizable assets | ' | ' | ' | ' |
Amortizable intangible assets, net | ' | ' | ' | ' |
Deferred turnaround costs & other assets | 7,475 | 9,055 | ' | ' |
Investment in subsidiaries | 28,203 | 27,503 | ' | ' |
Total assets | 739,534 | 740,727 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 799 | 836 | ' | ' |
Accounts payable | 37,186 | 31,625 | ' | ' |
Accrued liabilities | 17,432 | 12,399 | ' | ' |
Income taxes payable | 6,160 | 8,242 | ' | ' |
Sales, use and fuel taxes payable | 13,398 | 14,933 | ' | ' |
Deferred income taxes | 1,734 | 1,734 | ' | ' |
Amounts due to affiliated companies, net | ' | -169 | ' | ' |
Intercompany | ' | ' | ' | ' |
Total current liabilities | 76,709 | 69,600 | ' | ' |
Long term debt: less current installments | 232,493 | 232,180 | ' | ' |
Deferred income taxes | 13,941 | 14,325 | ' | ' |
Deferred retirement benefits | 65,274 | 67,419 | ' | ' |
Total liabilities | 388,417 | 383,524 | ' | ' |
Commitment and contingencies | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | ' | ' | ' | ' |
Preferred stock; $1,000 par value share - shares authorized 25,000; issued and outstanding 14,116 | 14,116 | 14,116 | ' | ' |
Additional paid-in capital | 157,251 | 159,844 | ' | ' |
Retained earnings | 187,012 | 190,333 | ' | ' |
Accumulated other comprehensive loss | -7,262 | -7,090 | ' | ' |
Total stockholder's equity | 351,117 | 357,203 | ' | ' |
Total liabilities and stockholder's equity | 739,534 | 740,727 | ' | ' |
Guarantors [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | 16,241 | 17,151 | 10,704 | 15,321 |
Accounts receivable, net | 36,819 | 41,396 | ' | ' |
Refundable income taxes | ' | -1,054 | ' | ' |
Inventories, net | 31,747 | 29,075 | ' | ' |
Prepaid expenses and other assets | 5,802 | 4,233 | ' | ' |
Amounts due from affiliated companies, net | -268 | ' | ' | ' |
Intercompany | 5,398 | 6,545 | ' | ' |
Total current assets | 95,739 | 97,346 | ' | ' |
Property, plant and equipment, net | 112,583 | 109,806 | ' | ' |
Deferred financing costs, net | ' | ' | ' | ' |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | ' | ' |
Amortizable intangible assets, net | 1,031 | 1,057 | ' | ' |
Deferred turnaround costs & other assets | 2,713 | 2,717 | ' | ' |
Investment in subsidiaries | ' | ' | ' | ' |
Total assets | 223,915 | 222,775 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 1,062 | 756 | ' | ' |
Accounts payable | 20,564 | 22,545 | ' | ' |
Accrued liabilities | 6,803 | 6,316 | ' | ' |
Income taxes payable | 490 | 345 | ' | ' |
Sales, use and fuel taxes payable | 3,622 | 4,314 | ' | ' |
Deferred income taxes | -1,369 | -1,369 | ' | ' |
Amounts due to affiliated companies, net | ' | 603 | ' | ' |
Intercompany | 141,677 | 139,704 | ' | ' |
Total current liabilities | 172,849 | 173,214 | ' | ' |
Long term debt: less current installments | 5,832 | 4,934 | ' | ' |
Deferred income taxes | 14,918 | 14,868 | ' | ' |
Deferred retirement benefits | 2,113 | 2,256 | ' | ' |
Total liabilities | 195,712 | 195,272 | ' | ' |
Commitment and contingencies | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | 18 | 18 | ' | ' |
Preferred stock; $1,000 par value share - shares authorized 25,000; issued and outstanding 14,116 | ' | ' | ' | ' |
Additional paid-in capital | 16,626 | 16,626 | ' | ' |
Retained earnings | 12,919 | 12,253 | ' | ' |
Accumulated other comprehensive loss | -1,360 | -1,394 | ' | ' |
Total stockholder's equity | 28,203 | 27,503 | ' | ' |
Total liabilities and stockholder's equity | 223,915 | 222,775 | ' | ' |
Eliminations [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | ' | ' | ' | ' |
Accounts receivable, net | ' | ' | ' | ' |
Refundable income taxes | ' | ' | ' | ' |
Inventories, net | ' | ' | ' | ' |
Prepaid expenses and other assets | ' | ' | ' | ' |
Amounts due from affiliated companies, net | ' | ' | ' | ' |
Intercompany | -141,677 | -139,704 | ' | ' |
Total current assets | -141,677 | -139,704 | ' | ' |
Property, plant and equipment, net | ' | ' | ' | ' |
Deferred financing costs, net | ' | ' | ' | ' |
Goodwill and other non-amortizable assets | ' | ' | ' | ' |
Amortizable intangible assets, net | ' | ' | ' | ' |
Deferred turnaround costs & other assets | ' | ' | ' | ' |
Investment in subsidiaries | -28,203 | -27,503 | ' | ' |
Total assets | -169,880 | -167,207 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | ' | ' | ' | ' |
Accounts payable | ' | ' | ' | ' |
Accrued liabilities | ' | ' | ' | ' |
Income taxes payable | ' | ' | ' | ' |
Sales, use and fuel taxes payable | ' | ' | ' | ' |
Deferred income taxes | ' | ' | ' | ' |
Amounts due to affiliated companies, net | ' | ' | ' | ' |
Intercompany | -141,677 | -139,704 | ' | ' |
Total current liabilities | -141,677 | -139,704 | ' | ' |
Long term debt: less current installments | ' | ' | ' | ' |
Deferred income taxes | ' | ' | ' | ' |
Deferred retirement benefits | ' | ' | ' | ' |
Total liabilities | -141,677 | -139,704 | ' | ' |
Commitment and contingencies | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | -18 | -18 | ' | ' |
Preferred stock; $1,000 par value share - shares authorized 25,000; issued and outstanding 14,116 | ' | ' | ' | ' |
Additional paid-in capital | -16,626 | -16,626 | ' | ' |
Retained earnings | -12,919 | -12,253 | ' | ' |
Accumulated other comprehensive loss | 1,360 | 1,394 | ' | ' |
Total stockholder's equity | -28,203 | -27,503 | ' | ' |
Total liabilities and stockholder's equity | ($169,880) | ($167,207) | ' | ' |