Re: Can I set permissions on a file using a script?
From: The Atomic Ass (the_atomic_ass@NOSPAMrunbox.com)
Date: 07/04/02
- Next message: The Atomic Ass: "Re: Ctrl Alt Delete"
- Previous message: Larry Waibel: "no 'sharing and security' popup menu"
- In reply to: Ajay: "Can I set permissions on a file using a script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: The Atomic Ass <the_atomic_ass@NOSPAMrunbox.com> Date: Thu, 04 Jul 2002 18:24:49 GMT
Ajay elegantly belched in news:OO1s4jqICHA.2748@tkmsftngp13:
> System: Windows XP with NTFS.
>
> My Problem: Due to a bug in MS Money 2000 (that I have reported),
> everytime I close Money and it compacts the data file the permissions
> on the file are changed so that only the Administrator and the current
> user can access it. This means that other computers on my home network
> running Win98 get a permission denied message when they try to access
> it. The person trying access the file then has to come to the WinXP
> machine and manually change the permissions to give "Everyone" access.
>
> I would like to know if there is script command I can use to set the
> permissions so we can just double-click an icon on the WinXP desktop.
> Or better yet, a way to disable permissions completely on a file or
> folder so this isn't an issue.
>
>
>
In the files containing folder, open the properties, security tab, set to
everyone, (as you would with the file), click advanced, check "Replace
permissions on all child objects with entries shown here that apply to
child objects". Now everytime the file is re-created, it will always have
the permissions that you want.
-- Some people have recently voiced their displeasure in my binary posts and comments. If you are one of them, complain to my Administrator! Postmaster@ranko.d2g.biz (for those of you who are wondering, is this a gag? yes it is. I'm the Administrator) 3)
- Next message: The Atomic Ass: "Re: Ctrl Alt Delete"
- Previous message: Larry Waibel: "no 'sharing and security' popup menu"
- In reply to: Ajay: "Can I set permissions on a file using a script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|