Re: File Ownership
- From: "KM" <konstmor@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 20:01:05 -0700
David,
How do you copy all the file to the drive?
Don't use Explorer but rather tool like xcopy (don't use /O switch).
Before the copy format the drive (you can use Quick Format).
KM
> Even files like boot.ini have unknown ownership. I'm just mounting the drive
> on a
> test machine, copying over the image files, and then booting the drive on the
> target device. I figured the FBA would at least make sure the files in the
> image
> would have valid owners...
>
> Thanks,
>
> David
>
> "KM" wrote:
>
>> David,
>>
>> You would probably better clean up the test drive before you deploy an XPe on it.
>>
>> You can also "fix" the files by modifying access control lists for them. Use tools like "cacls.exe" to do that. Or Explorer if
>> included.
>>
>> I am not sure about this but I think fbreseal and newsid would only change an old SID to a new SID for files on NTFS. They may
>> not
>> fix your problem (I don't think they clean up ACLs). But you can easy give it a try.
>>
>> --
>> Regards,
>> KM, BSquare Corp.
>>
>>
>> > Hello All,
>> >
>> > When I copy my image files over to a test drive and boot that test drive, go
>> > through the FBA etc. Many files (some from the image, some of my own that I
>> > leave on the test drive) are owned by a UID/GID unknown to the XPe OS, which
>> > results in all
>> > sorts of problems. I'm currently using the cygwin chown command to fix files
>> > as needed.
>> >
>> > What is the recommended way to fix the UID/GID for the files in the image?
>> > Will
>> > fbreseal take care of this for me?
>> >
>> > David
>>
>>
>>
.
- References:
- File Ownership
- From: David Morgan
- Re: File Ownership
- From: KM
- Re: File Ownership
- From: David Morgan
- File Ownership
- Prev by Date: Re: File Ownership
- Next by Date: Common language run-time debugging service Error
- Previous by thread: Re: File Ownership
- Next by thread: Common language run-time debugging service Error
- Index(es):
Relevant Pages
|