Privileges in Mac OS X server

Jay_B

Registered
Hey. I need something (don't care it it's UNIX or AppleScript etc.) that can change (modify) the privileges of a folder. What I need is to get the folders owner to be the name of the folder (have imported som stuff from a ASIP 6.3.3). It would also be great to get a way to move the preferences folder (which is on "User:preferences:" to go to "User:Library:preferences") and to make the "public" folder. I know I ask for much, put it would been so great if you could come up with a solution :) Well, I am quite newbie in X (worst is UNIX commandoes), so a step guide would be great :confused: :)

Hopefully you can help me. Or else I have to do every thing maually.

BTW have Mac OS X server 10.1.3
 
The UNIX commands you're after are:

chown - change the owner of a file or directory
chmod - change the permissions (privileges) of a file or directory

Now, these are quite complex at first, but if we can get a little more info I'm sure our unix gurus will be able to whip up a script for you. :) I can't say why you'd want to change a folder's owner to the name of a folder, unless you were perhaps importing users from another system or something?
 
As I said, I had ASIP, which stands for Apple Share IP, which is a server program for 9.1 (maximum, not 9.2 etc.). With all help from QuicKeys yesterday I managed to get move all the documents from the old "Users" folder, to the Mac OS X made (with all privileges in shape) "Users" folder. It was hard because X doesn't use the same names of the users in the Users folder (shortname... imported my old user with the AppleShare IP Migration application). Anyhow... With some help of FileBlaster I will set up the preferences for the users (Library:preferences) from scrath. And with QuicKeys I will change the privileges for the new stuff in the documents folder (go in the info window and copy privileges from there to every subfolder/files). Without QuicKeys OS X is only for nerds, and I am not. So I can say that I think there should be more "applications" for us that doesn't know UNIX (I know ls and cd . for fixing privileges.
 
Back
Top