image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old January 6th, 2007, 12:20 PM
Registered User
 
Join Date: May 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
osXTiger is on a distinguished road
how to chflags -R nouchg to all users...

how does one do a chflags -R nouchg command to all users trash can on the server at the same time.

in a network environment, microsoft office, first class email, both create a locked file, a busy or a recovered file or folder that will not let the users delete their own trash. this results in tons of junk that i am backing up on my servers.

if i login as a user, and do the chflags -R nouchg /and/drag/contents/of/trash/in/terminal/window/to/draw/the/path to the items/, then i can delete the trash.

this command while logged in as root on the server,
sudo chflags -R nouchg /Staff/*/.Trash will or should touch all contents of all trash cans for anyone that has a directory in the folder /Staff

then this command sudo rm -rf /Staff/*/.Trash will empty all trash.

some locked files or busy files refuse to be removed. I wonder if the command
sudo chflags -R nouchg /Staff/*/.Trash is really working or not...

thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 02:22 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1
Copyright 2000-2010 DigitalCrowd, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52