[OpenAFS] Re: [Slightly OT] changing UID of a user to 1

Russ Allbery rra@stanford.edu
Sun, 28 Aug 2005 13:28:40 -0700


Madhusudan Singh <singh.madhusudan@gmail.com> writes:

> Right now, I am restoring (via sftp) the files I had backed up onto
> another server for each user. After they are copied, I will be doing a
> bunch of chown's (which will change the Unix permissions and ownerships
> of those files and directories).

Note that the only effect of chown is purely cosmetic.

> Do I need to change the ACL's as well or will simply a chown with the
> right ID do the job (ACLs are inherited from a parent directory, aren't
> they) ?

chown has no effect on ACLs at all.  ACLs are indeed inherited from the
parent directory, so you don't have to change ACLs if you're happy with
the ones that will be inherited.

> Second unrelated question : I have another partition on this server
> machine (named /vicepb) available for the AFS cell. How do I make it
> available to user.* volumes ?

Restart the file server.  It should automatically pick up any partition
named /vicep?.  You can then put volumes on it.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>