Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Inheritated Permissions

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 03-07-2007   #1 (permalink)
Eric the Grey
Guest


 

Inheritated Permissions

I have just built a new machine from scratch, installing Vista Home on it.
After transferring the old hard drives from my old machine, I've found an
oddity that I cannot figure out how to solve.

One of the drives in question has a large number of video on it, separated
into folders by title/series/etc.

The issue I've come across is when moving or deleting them, I have to answer
UAC permission requests. I've looked at the ownership, and it appears that
the original "owner", who was me, on my old machine, still exists.

I can individually take ownership of the files and remove the Inheritated
ownership for each file, but not for a directory full of them. If I do so,
the dialog box shows the first file and never moves onward, even if left to
run all night while I sleep.

Is there a quick and easy way to accomplish this? There are a LOT of files
on this drive, and two drives to deal with, and I don't relish doing this one
at a time.

Thanks in advance for any help.


Eric the Grey

My System SpecsSystem Spec
Old 03-08-2007   #2 (permalink)
Kerry Brown
Guest


 

Re: Inheritated Permissions

Use the TAKEOWN command in a cmd prompt. Type takeown /? for details on how
to use it. You may also have to give yourself permission after you have
ownership. Use the CACLS command for this.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Eric the Grey" <ErictheGrey@discussions.microsoft.com> wrote in message
news:CE049F20-51FC-4719-B0F7-9AC30FD8F90E@microsoft.com...
>I have just built a new machine from scratch, installing Vista Home on it.
> After transferring the old hard drives from my old machine, I've found an
> oddity that I cannot figure out how to solve.
>
> One of the drives in question has a large number of video on it, separated
> into folders by title/series/etc.
>
> The issue I've come across is when moving or deleting them, I have to
> answer
> UAC permission requests. I've looked at the ownership, and it appears
> that
> the original "owner", who was me, on my old machine, still exists.
>
> I can individually take ownership of the files and remove the Inheritated
> ownership for each file, but not for a directory full of them. If I do
> so,
> the dialog box shows the first file and never moves onward, even if left
> to
> run all night while I sleep.
>
> Is there a quick and easy way to accomplish this? There are a LOT of
> files
> on this drive, and two drives to deal with, and I don't relish doing this
> one
> at a time.
>
> Thanks in advance for any help.
>
>
> Eric the Grey


My System SpecsSystem Spec
Old 03-08-2007   #3 (permalink)
Eric the Grey
Guest


 

Re: Inheritated Permissions


Thank you, Sir. I will give both of those a try tomorrow after class.


Eric the Grey

"Kerry Brown" wrote:

> Use the TAKEOWN command in a cmd prompt. Type takeown /? for details on how
> to use it. You may also have to give yourself permission after you have
> ownership. Use the CACLS command for this.
>
> --
> Kerry Brown
> Microsoft MVP - Shell/User
> http://www.vistahelp.ca
>


My System SpecsSystem Spec
Old 03-08-2007   #4 (permalink)
Eric the Grey
Guest


 

Re: Inheritated Permissions

Ok, I tried it and no go.

If I use TAKEOWN, I get the following response:

INFO: The current logged on user does not have ownership privileges on
the file (or folder): "Like the Clouds, Like the Wind.avi".

On any file I try with.

I am logged on as the administrator (My login) and only account on the
machine, but it appears that that authority doesn't work at a DOS command
prompt.

CACLS is depreciated according to the /? info, replaced with ICACLS. I
tried a couple of tries with this, but I don't think I'm understanding the
information on that command correctly. It keeps telling me the parameter
"John" (my login name) is incorrect. I've got to read it some more after I
get up.


Eric the Grey

My System SpecsSystem Spec
Old 03-08-2007   #5 (permalink)
Kerry Brown
Guest


 

Re: Inheritated Permissions

Sorry, I forgot to say that you need to do this from an elevated cmd prompt.
My mistake. Right click on cmd.exe and pick Run as administrator. You will
need to use the /R and the /D Y parameters with takeown. I was in a rush and
forgot that cacls had been replace by icacls. It does the same thing with
more options. Both should work from an elevated cmd prompt. My apologies for
leaving out that crucial step.

--
Kerry Brown
Microsoft MVP - Shell/User
http://www.vistahelp.ca


"Eric the Grey" <ErictheGrey@discussions.microsoft.com> wrote in message
news:EEC0C0D8-C21A-4D1B-8164-C9AAD6104087@microsoft.com...
> Ok, I tried it and no go.
>
> If I use TAKEOWN, I get the following response:
>
> INFO: The current logged on user does not have ownership privileges on
> the file (or folder): "Like the Clouds, Like the Wind.avi".
>
> On any file I try with.
>
> I am logged on as the administrator (My login) and only account on the
> machine, but it appears that that authority doesn't work at a DOS command
> prompt.
>
> CACLS is depreciated according to the /? info, replaced with ICACLS. I
> tried a couple of tries with this, but I don't think I'm understanding the
> information on that command correctly. It keeps telling me the parameter
> "John" (my login name) is incorrect. I've got to read it some more after
> I
> get up.
>
>
> Eric the Grey
>


My System SpecsSystem Spec
Old 03-08-2007   #6 (permalink)
Jesper
Guest


 

Re: Inheritated Permissions

icacls will also take ownership, but only of a file that you already have the
right to take ownership of. Most likely you have it as Admins will probably
have Full Control over the files. If not, you must use takeown.

"Kerry Brown" wrote:

> Sorry, I forgot to say that you need to do this from an elevated cmd prompt.
> My mistake. Right click on cmd.exe and pick Run as administrator. You will
> need to use the /R and the /D Y parameters with takeown. I was in a rush and
> forgot that cacls had been replace by icacls. It does the same thing with
> more options. Both should work from an elevated cmd prompt. My apologies for
> leaving out that crucial step.
>
> --
> Kerry Brown
> Microsoft MVP - Shell/User
> http://www.vistahelp.ca
>
>
> "Eric the Grey" <ErictheGrey@discussions.microsoft.com> wrote in message
> news:EEC0C0D8-C21A-4D1B-8164-C9AAD6104087@microsoft.com...
> > Ok, I tried it and no go.
> >
> > If I use TAKEOWN, I get the following response:
> >
> > INFO: The current logged on user does not have ownership privileges on
> > the file (or folder): "Like the Clouds, Like the Wind.avi".
> >
> > On any file I try with.
> >
> > I am logged on as the administrator (My login) and only account on the
> > machine, but it appears that that authority doesn't work at a DOS command
> > prompt.
> >
> > CACLS is depreciated according to the /? info, replaced with ICACLS. I
> > tried a couple of tries with this, but I don't think I'm understanding the
> > information on that command correctly. It keeps telling me the parameter
> > "John" (my login name) is incorrect. I've got to read it some more after
> > I
> > get up.
> >
> >
> > Eric the Grey
> >

>
>

My System SpecsSystem Spec
Old 03-08-2007   #7 (permalink)
Eric the Grey
Guest


 

Re: Inheritated Permissions

That was the key! I actually thought about it for a few seconds before
dropping off to sleep this morning, after my last posting. Simply taking
ownership of the files wasn't enough though. I had to remove the inherited
permissions before I could do anything with the files, like move, delete,
etc. Every time I tried to do anything like that, I was faced with UAC.

ICACLS * /RESET /T /C /L

This is the command and switches I used to reset the inherited permissions.
It also removed the old owner from the file security completely.

It also runs recursively through sub-directories, so I was able to simply
run it at the root of the drive, and grab everything... It took some time,
given that not only do I have all the video, but my entire music collection
(22 gigs worth) on this drive as well...

Thank you again for the help. Hopefully, if someone else has this issue,
they can find it here.


Eric the Grey


"Jesper" wrote:

> icacls will also take ownership, but only of a file that you already have the
> right to take ownership of. Most likely you have it as Admins will probably
> have Full Control over the files. If not, you must use takeown.
>
> "Kerry Brown" wrote:
>
> > Sorry, I forgot to say that you need to do this from an elevated cmd prompt.
> > My mistake. Right click on cmd.exe and pick Run as administrator. You will
> > need to use the /R and the /D Y parameters with takeown. I was in a rush and
> > forgot that cacls had been replace by icacls. It does the same thing with
> > more options. Both should work from an elevated cmd prompt. My apologies for
> > leaving out that crucial step.
> >
> > --
> > Kerry Brown
> > Microsoft MVP - Shell/User
> > http://www.vistahelp.ca


My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
ultimate: permissions permissions permissions... maya Vista General 1 04-14-2008 02:14 PM
permissions rac8006 Vista General 13 03-11-2008 05:34 PM
Permissions? ? Terry Vista account administration 1 02-24-2008 01:42 PM
permissions macca Vista account administration 5 02-15-2008 06:40 PM
Enabled permissions for "Everyone" but denied "change permissions" ed Vista security 0 07-11-2007 03:42 PM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51