On 01/11/2010 05:21 AM, "Karl Tißner" sent: > Hello openafs-info, > > This seems to me like an frequently asked question, but I didn't find > the answer searching the web. > > When writing into an AFS directory, the file ownership is set to the > appropriate AFS id, not the Unix UID of the the user, who is creating a > file (as described in http://docs.openafs.org/AdminGuide/ch02s08.html) > > As long as the AFS and the Unix UID match, this behaviour does not lead > to problems. But is there an way to automatically use the Unix UID for > newly created files?
No. > Since it is not possible to create an user with AFS UID "0", all files > created by root are not owned by root (Debian Linux, root has UID 0): > > # pts createuser -name testtest -id 0 > 0 isn't a valid user id; aborting > > What is the standard way to handle this problem? By declaring it not a problem, but desired behavior. Root is a local id, not a network id. A member of system:administrators can chown existing files to root, but that's as close as you're going to get I think. > Thank you, Karl Cheers, -- +--------------------------------------------------------------+ / todd_le...@unc.edu 919-445-9302 http://www.unc.edu/~utoddl / / He had a photographic memory which was never developed. / +--------------------------------------------------------------+ _______________________________________________ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info