+ Post New Thread
Results 1 to 7 of 7
Windows Thread, Removing DELETE permissions, but not removing tmp files in Technical; Having a bit of a mare, and probably can't see the wood for the trees. But I'm trying to remove ...
  1. #1

    Join Date
    Nov 2011
    Location
    Blackpool
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Removing DELETE permissions, but not removing tmp files

    Having a bit of a mare, and probably can't see the wood for the trees. But I'm trying to remove delete permissions for users, so that they can't delete any files from their home drives (don't ask). This I can do fine with denying the DELETE priviledge to the STUDENT group in the file system properites of the share, but however this means that every document that they open up, creates a temp file, and on closing, even logging off, the temp files aren't removed. So I wrote a tiny batch to delete *.tmp, and run as a logoff script, however as this is a loggoff script, it runs with the same users credentials, so therefore, does not delete anything. Can not put it in a shutdown script, as the temp files are on the share/not the local profile on the workstation (besides, the machines aren't always shutdown after a session). DOHH!

    I know I could schedule a massicare of the tmp files at night across the entire drive, but would prefer not to have to do this.

    Anyone got any ideas, I've not had much time to dedicate to coming up with a work around.

    Any help would be appreciated.

    Many regards
    Nei;

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,388
    Thank Post
    241
    Thanked 2,815 Times in 2,077 Posts
    Rep Power
    813

  3. #3

    Join Date
    Nov 2011
    Location
    Blackpool
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Arthur,
    Thanks for the post. This is essentially what I have already done, and works for the purpose of stopping the deleting of items, however, the bones of the problem I have due to this, is that document temp files, are created when users open files from their home drive, are not deleted when the document is closed or even when the session is logged off. This means that all the users home folders will quickly pile up with tmp files, and I want to try and avoid a mass find/delete scheduled nightly task to remove them and have them cleared when the attributed document is closed, or at least when the user logs off.

  4. #4

    Join Date
    Mar 2011
    Location
    Bournemouth
    Posts
    280
    Thank Post
    16
    Thanked 74 Times in 64 Posts
    Rep Power
    22
    I think you can use file screening to prevent certainly office programs from creating the temporary files at all. If you block .tmp files or ~*.* files they wont be created which I don't believe actually impacts usability.

  5. #5

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    9,988
    Thank Post
    1,852
    Thanked 2,297 Times in 1,696 Posts
    Rep Power
    819
    Quote Originally Posted by ChrisMiles View Post
    I think you can use file screening to prevent certainly office programs from creating the temporary files at all. If you block .tmp files or ~*.* files they wont be created which I don't believe actually impacts usability.
    It almost certainly impacts the undo/redo function

    Can't the script written be scheduled to run at a regular time on the server overnight with admin privileges?

  6. #6

    Join Date
    Mar 2011
    Location
    Bournemouth
    Posts
    280
    Thank Post
    16
    Thanked 74 Times in 64 Posts
    Rep Power
    22
    Quote Originally Posted by elsiegee40 View Post
    It almost certainly impacts the undo/redo function

    Can't the script written be scheduled to run at a regular time on the server overnight with admin privileges?
    It wont affect undo/redo at all, you can open office documents from locations where you only have read access without creating a temp file and undo/redo works perfectly fine.

  7. #7

    Join Date
    Nov 2011
    Location
    Blackpool
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Elsie,
    That is currently my ownly resort, however, we are sometimes clocking up GBs of tmp files and we are on the limits of our current storage capabilities.

    Chris, thanks, I'll try this.

SHARE:
+ Post New Thread

Similar Threads

  1. Sanako common file store : write but not read
    By cjohnsonuk in forum Windows Server 2008
    Replies: 0
    Last Post: 7th July 2009, 01:23 PM
  2. Write but not view folder permissions, strange request
    By HMCTech in forum Windows Server 2008
    Replies: 7
    Last Post: 14th April 2008, 01:21 PM
  3. Replies: 16
    Last Post: 12th March 2008, 04:27 PM
  4. Replies: 5
    Last Post: 9th March 2008, 12:15 AM
  5. Replies: 3
    Last Post: 25th September 2006, 12:27 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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