Ik heb inmiddels weer een mailtje gehad van Marcel, kan iemand mij helpen met dit mailtje?
Citaat:
Hi,
as I see this basically works now.
Am 18.11.2003 um 09:23 schrieb Marjou:
> If I set options to root as user nobody, I can’t record with my
> Dreambox. If I set options to all users as user root I can record with
> my dreambox but I can’t play the recorded file (dreambox hangs and I
> have to disconnect the power cable). I can play the recorded file
> using VLC on the MAC so the NFS Share works.
>
> Can you explain me little more about the options? What is the right
> option setting so that I can read and write (play and record).
I cannot really answer that question because this depends on how the Dreambox works. Every running program in a Unix system is associated with a user profile that dictates the permissions the program will have. Every user profile has a unique number, the User Identification (UID). There are always two reserved profiles, available on every Unix system, namely “root” with the UID 0 and “nobody” with the UID -2. “Root” is a preconfigured profile that has no permission restrictions whatsoever, while the “nobody” profile has absolutely no permissions.
The permissions across an NFS connection are handled by checking UIDs. It would be a serious security problem if a user that is “root” (0) on this own computer would automatically become “root” (0) on all other computers s/he connects to via NFS.
For this reason, the UID 0 is usually mapped to -2 (“map root to nobody”), and all other UID numbers must be perfectly synchronized for all computers communicating over NFS.
I see two possibilities:
a) You should check what UID the Dreambox uses when creating files. If you then create a new user with the same user ID on the Mac, everything should work fine. A new user can be created with System Preferences, the UID can be modified with NetInfo Manager. It may also be possible to set the UID on the Dreambox side.
An alternative is to set the option “map all users to x”, where x is your own account name on the Mac. In this case the Dreambox is allowed to act with the same permissions you have when working with the Mac.
Note that you may have to reboot both machines for changes
to take effect if you change UIDs or mapping settings.
Regards,
Marcel
Weet iemand wat voor UID’s de dreambox gebruikt?
M-Jay