Managing permissions and ownership
Often new directory structures are created on the main file server with Domain Admins as the owner of all the objects. To allow the SFU NFS server and name mapper to present sensible permission information to Unix users this needs to be changed
Changing folder ownership
Grant “take ownership” permission
First log in to the main file server with a domain administrator’s account. Change the permissions on the folder you wish to modify so as to grant “take ownership” permission to the Unix user account you wish to make the owner of the folder. The steps for this are listed below.
Take ownership of the folder
To do this either logon to the fileserver as the user who will take ownership ( this may need temporary modifications to logon rights) or logon using a workstation
Setting the “primary” group for Unix
Windows does not really implement the concept of a primary group. In Unix a user’s primary group is the group affiliation bound to a file or directory. Changing the Unix primary group for a file is difficult to do on Windows but is relatively straightforward from Unix provided you log on as the directory “owner” Note better to use numeric group ID
$ cd /sharedir
$ ls –al
drwxrwxrwx 2 ushowner Domain Users 64 Jul 13 16:19
drwxr-xr-x 33 root root 1024 ..
drwxrwxrwx 2 unuser1 Domain Users 64 Jul 13 16:19 srcdir
$
$
$ chgrp –R 10502 srcdir
Back to menu
