Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Vista ACLs problem

Reply
Thread Tools Display Modes

Vista ACLs problem

 
 
Dale
Guest
Posts: n/a

 
      08-03-2007
I'm getting desperate for help here. Yes, I am an MCSE but this is Vista and
Vista security does not act like any security before it.

Here's the problem: I have scanned the CD covers for my entire CD
collection and saved them as 480x480 pixel images named Folder.jpg in the
corresponding album folder. Windows Media Player 11 insists on resizing
those images to 200x200 pixels. There is nothing in Windows Media Player
that will stop this - in fact, one of the design goals of WMP 11, as stated
by a former senior member of the WMP product team, was to close loopholes
that allowed WMP 10 to not reduce album art to 200x200 pixels. Following
suggestions by that same senior member that setting the Read-Only attribute
will stop the change failed to prevent WMP from trashing the file. My goal
is to stop this behavior by setting the NTFS permissions.

The end result should be that I can read the file but not write or delete
any file matching Folder*.jpg - technically Folder.jpg but the * is required
to make icacls.exe work on subfolders. No program running in my security
context or the SYSTEM security context should be able to write or delete the
file. Windows Media Player and I should be able to change the MP3 files or
other image files in the media library. The only thing blocked should be the
Folder.jpg files.

I use ICACLS.EXE to deny delete or write permissions:

icacls Folder*.jpg /deny DaleD) /T
icacls Folder*.jpg /deny Dale:W /T

As soon as I do one of the above (either one - I don't have to do both) I
cannot delete or write the file but I also cannot read the files. I check
the effective permissions in the security properties and every box is checked
for me except Full Control and Delete in the case of the first example above
and Full Control and all of the write associated permissions in the case of
the second example above. All indications are that I should be able to
access the files for reading.

If I reset the ACLs using:

icacl Folder*.jpg /reset /T

and then use the Security property tab in Windows Explorer to set the
permissions including deny write and deny delete, all works perfectly as
expected. The only problem with this solution is that I would have to
manually, one file at a time, set the permissions for thousands of files.

Does anyone have any help on how to do this with icacls or some other tool
by which I can set permissions en masse?

Thanks,

Dale

--
Dale Preston
MCAD C#
MCSE, MCDBA
 
Reply With Quote
 
 
 
 
Dale
Guest
Posts: n/a

 
      08-03-2007
Problem solved.

I gave up on ICACLS.EXE and went back to CACLS.EXE. I created an account to
give full control to so that I don't lose access to the files completely and
then I use CACLS to replace the current ACL and give my account and the
newly-created account access as follows::

CACLS Folder*.jpg /T /P Dale:R
CACLS Folder*.jpg /T /E /G AlbumArtAccount:F

Now I, and Windows Media Player when I am logged in, cannot delete or change
the album art but AlbumArtAccount, which never logs in normally, could log in
and delete or change the album art if necessary.

So I rip my files using iTunes to a different folder on the same drive, scan
and add my album art, set the permissions as described above, and then move
the files to the folders monitored by WMP. As long as I always remember to
follow all the steps, I'm fine.

I still keep my album art backed up separately just in case. Afterall, this
is WMP and as soon as the WMP product team finds a way to close this
loophole, they will.

Dale
--
Dale Preston
MCAD C#
MCSE, MCDBA


"Dale" wrote:

> I'm getting desperate for help here. Yes, I am an MCSE but this is Vista and
> Vista security does not act like any security before it.
>
> Here's the problem: I have scanned the CD covers for my entire CD
> collection and saved them as 480x480 pixel images named Folder.jpg in the
> corresponding album folder. Windows Media Player 11 insists on resizing
> those images to 200x200 pixels. There is nothing in Windows Media Player
> that will stop this - in fact, one of the design goals of WMP 11, as stated
> by a former senior member of the WMP product team, was to close loopholes
> that allowed WMP 10 to not reduce album art to 200x200 pixels. Following
> suggestions by that same senior member that setting the Read-Only attribute
> will stop the change failed to prevent WMP from trashing the file. My goal
> is to stop this behavior by setting the NTFS permissions.
>
> The end result should be that I can read the file but not write or delete
> any file matching Folder*.jpg - technically Folder.jpg but the * is required
> to make icacls.exe work on subfolders. No program running in my security
> context or the SYSTEM security context should be able to write or delete the
> file. Windows Media Player and I should be able to change the MP3 files or
> other image files in the media library. The only thing blocked should be the
> Folder.jpg files.
>
> I use ICACLS.EXE to deny delete or write permissions:
>
> icacls Folder*.jpg /deny DaleD) /T
> icacls Folder*.jpg /deny Dale:W /T
>
> As soon as I do one of the above (either one - I don't have to do both) I
> cannot delete or write the file but I also cannot read the files. I check
> the effective permissions in the security properties and every box is checked
> for me except Full Control and Delete in the case of the first example above
> and Full Control and all of the write associated permissions in the case of
> the second example above. All indications are that I should be able to
> access the files for reading.
>
> If I reset the ACLs using:
>
> icacl Folder*.jpg /reset /T
>
> and then use the Security property tab in Windows Explorer to set the
> permissions including deny write and deny delete, all works perfectly as
> expected. The only problem with this solution is that I would have to
> manually, one file at a time, set the permissions for thousands of files.
>
> Does anyone have any help on how to do this with icacls or some other tool
> by which I can set permissions en masse?
>
> Thanks,
>
> Dale
>
> --
> Dale Preston
> MCAD C#
> MCSE, MCDBA

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generic McAfee Problem Message in Vista Problem Reports cyberbuff53 Windows Vista Performance 0 12-01-2007 12:55 PM
Boot error: ACLs floppy.sys are not proper Jehu Windows Vista Installation 2 06-18-2007 01:46 AM
Pseudo-Admin can't set System32 ACLs? Gerry Hickman Windows Vista Security 3 12-21-2006 02:15 AM
Vista Sleep Problem / Network Problem WWJD Windows Vista Networking 0 10-11-2006 08:17 AM
Vista Upgrade Problem - Windows Explorer Loop problem Steve S Windows Vista Installation 0 06-27-2006 03:15 PM



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 52 53 54 55 56 57 58 59