WiPPaH Posted February 9, 2010 Posted February 9, 2010 Hi Guys, This problem presented itself today and I was wondering if anyone had any solutions for it? ==Scenario== We have just rolled out a new iMac lab, when students try and import Movies into iMovie however it complains and crashes. We have worked out this is because iMovie is trying to save the clip to the Movies folder on the users home drive, however this does not exist. Creating the folder manually resolves the problem. ==Planned Resolution== My initial thought was to create the 'Movies' folder on all of our students Home Directorys with a bat file, however I want to make sure they don't delete these folders, but still be able to have full read/write access inside the folder. So to recap: Home Directory = Read/Write Movies folder = Traverse & list contents Inside the Movies folder = Read/Write Im pretty sure this can be done in Linux, but I cant see a way in Windows. ==SideNotes== Server 2003/XP/iMac Environment Thoughts?
Steady Posted February 9, 2010 Posted February 9, 2010 It sounds like the CACLS command is going to be your friend on this one :- Cacls - Modify Access Control List
WiPPaH Posted February 9, 2010 Author Posted February 9, 2010 It sounds like the CACLS command is going to be your friend on this one :- Cacls - Modify Access Control List Thanks Steady, Yeah thats what I was going to use, I just cant get the permissions right so the user cannot delete the 'Movies' folder
mounters Posted February 9, 2010 Posted February 9, 2010 Can you not just use a deny delete on the Movies folder?
WiPPaH Posted February 9, 2010 Author Posted February 9, 2010 Can you not just use a deny delete on the Movies folder? I have tried that Mounters, but it doesn't seem to work I turned inheritance off, with: Delete off Delete subfolders and files On No Joy The user can still delete the folder from their home directory. Let me know if it works differently for you though! Thanks again everyone for your ideas Chris
Steady Posted February 9, 2010 Posted February 9, 2010 Using this in a batch file for several users :- cacls "\\\Home$\Pupils\M\USERNAME\movies" /t /e /g USERNAME:c I'm guessing here but Mr USERNAME is in the M folder in this example.
WiPPaH Posted February 9, 2010 Author Posted February 9, 2010 Using this in a batch file for several users :- cacls "\\\Home$\Pupils\M\USERNAME\movies" /t /e /g USERNAME:c I'm guessing here but Mr USERNAME is in the M folder in this example. Sorry Steady, No Joy here with that command The user was able to navigate up to their home directory and delete the Movies folder
Steady Posted February 9, 2010 Posted February 9, 2010 What permissions do you have on that movies folder?
WiPPaH Posted February 9, 2010 Author Posted February 9, 2010 After running the Calcs script: Looks like just 'Change permissions' under the Advanced permission tab for 'Files Only' As the user you cant get into it, but you can delete the folder. Sidenote: Renaming the folder is denied (which is nice).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now