Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Ownership and Permissions for Multiple Files 2

Status
Not open for further replies.

AbidingDude

Programmer
Oct 7, 2012
74
US
So, I just upgraded my wife's computer from XP: new CPU, RAM, motherboard, and hard drive. Since I put in a new hard drive, I figured I could just plug in her old one in an extra SATA port so that she could still access her old files. Mostly I wanted her to have access to her MP3 collection.
For one, it was difficult because Windows kept telling me I didn't have permission to access them. I eventually found an article that showed me how to gain access for an individual file or folder. However, with the folder thing, it seems that I only gain access to the folder, not the files within it. I was able to obtain access for individual files, but I can't do that for all of her MP3s. Is there "group" way of doing this?
 
Are all her mp3s in the same directory? Say the directory is called music. You could try something like
Code:
cacls music /E /G everyone:R
cacls music /E /T /G everyone:R
First line gives access to the directory called music
Second line gives access to all the subdirectories of music
 
Note that MS have deprecated cacls. We're supposed to use icacls instead of cacls for W7/8.x but I can never remember the syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top