"Karl Tißner" <[email protected]> writes:

>> > 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.
>
> That's not really a satisfying solution. I'm forced to use the root account, 
> since I chroot into an AFS directory, which is the root directory on a server 
> using AFS mounted clients (for network boot). Files created by root should be 
> owned by root immediately.
>
> How do others handle this? I really can not imagine, that I am the only one 
> using such a configuration.

aklog to an account in system:administrators
Use "cp -p" to create files with root ownership.

Unfortunately there's no way to solve the problem with 'creat()' but
without 'chown()'

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [email protected]                        PGP key available
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to