Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Denmark
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    Got two folders "Main" and "Submain".

    • Everyone ("mains") should be allowed to view files in "Main".
    • A small group of people "subs" - should be allowed to create, modify and view content in "Submain".
    • "Mains" should receive "Acces denied" when trying to access "Submain".


    Once a day content of "Submain" is released and the files are moved to "Main" by a scheduled task (AT).

    • Now all "Mains" and "subs" should be able to open the files in "Main".


    Current problem is, that if a file is created or modified in "Submain", then after being moved to main it is unaccesible to "mains" - and can still only be opened by "subs".

    Does anyone know if there's a way around this windows "feature"...??

    TIA
    Bests,
    Bests,
    RD


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Depending on how you are moving the files, you may be able to run a BAT file that uses cacls or Icals to modify the file permissions after you have moved them.

  3. #3
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Denmark
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by StuartR View Post
    Depending on how you are moving the files, you may be able to run a BAT file that uses cacls or Icals to modify the file permissions after you have moved them.
    Hi Stu,

    Thanks for the quick reply. I'm not quite familiar with cacls and Icals, can you elaborate a bit on that?? - please.

    In fact a BAT that applies "Full control" to all files found in the "Main" folder would be sufficient

    ;o)
    Bests,
    RD


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts
    To add full access rights for everyone to all files in a folder
    cacls c:\folder\* /e /g everyone:f

    For help on the command syntax
    cacls /?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •