image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
Thread Tools
  #1  
Old February 13th, 2006, 09:23 AM
Registered User
 
Join Date: Nov 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
sorenmd is on a distinguished road
Question please help with auto permissions script...

I have been trying to make a permissions script that runs every minute to unlock (read & write) all folders created by a cetain user.

For example, people in our workgroup create folders and forget to unlock them, so later on when someone is trying to work in that folder they cant modify or create new folders or files.

Can someone help me with a script that runs un the background every 60 seconds to make all permissions in a certain path ( .../HardDisk/users/ocean ) read and write. The user name is: ocean

Help is much appreciated!
Reply With Quote
  #2  
Old February 13th, 2006, 02:37 PM
Natobasso's Avatar
Tech-Bot 5000
 
Join Date: Jul 2002
Location: Yo' Mama's House
Posts: 2,898
Thanks: 1
Thanked 2 Times in 2 Posts
Natobasso is on a distinguished road
We have that on our server at work. I'm working to find out how the script is written…If someone else has the script, don't hesitate to provide it. I may or may not get the answer to this.
__________________
Powerpoint is not a design application
Reply With Quote
  #3  
Old July 5th, 2006, 03:36 PM
Registered User
 
Join Date: Nov 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
sorenmd is on a distinguished road
I still need help! Anything would be appreciated.
Reply With Quote
  #4  
Old July 10th, 2006, 10:10 AM
Michael Dhaliwal, ACSA
 
Join Date: Mar 2003
Location: Chicago, IL
Posts: 1,057
Thanks: 0
Thanked 2 Times in 2 Posts
Go3iverson is on a distinguished road
So, why not just assign that as the default permissions for the share on the server?

Otherwise, you'd just write a cron tab that runs a shell script that does something like:

chmod -R 755 /HardDisk/Users/ocean/

That will change the permissions to be R/W for owner, group, everyone.

If you need to change ownership, include

chown -R user:group /HardDisk/Users/ocean/

Michael
__________________
Michael Dhaliwal
ACSA, Xsan Certified, etc, etc...
District13 Computing
Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script Editor 2.0 Hangs When I Try to Open Any Script zeke_mn Mac OS X System & Mac Software 2 July 14th, 2005 02:12 PM
Shell script: changing which user is auto-logging in HateEternal Unix & X11 1 March 25th, 2005 02:46 PM
auto log out how to. Agent Black Mac OS X System & Mac Software 3 March 7th, 2005 03:05 PM
A script. A script for fun I say. Help me write it. Jasoco Software Programming & Web Scripting 13 May 15th, 2003 02:45 PM
Auto Log-out? Murderer909 Mac OS X System & Mac Software 3 May 31st, 2001 09:10 PM


All times are GMT -5. The time now is 06:44 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.