Microsoft KB Archive/131219

{| = BUG: Running PACK Command on Table Changes File Rights =
 * width="100%"|

ID: Q131219

The information in this article applies to:


 * Microsoft FoxPro for UNIX, version 2.6

SYMPTOMS
When the PACK command is run against a table, the owner and group of the table can change.

WORKAROUND
Execute the Unix chown and chgrp commands from FoxPro to change Owner and Group back to what they were before the PACK command was run. For example:

RUN chown oracle customer.dbf RUN chgrp dba customer.dbf

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Steps To Reproduce Behavior
If the owner is currently oracle and the group is dba for CUSTOMER.DBF in the /USR/LIB/FOXPRO/TUTORIAL directory, issue the following commands from the Command window:

SET DEFAULT TO /usr/lib/FoxPro/tutorial USE customer DELETE PACK The owner for CUSTOMER.DBF is changed to root and the group to other. Additional reference words: FoxUnix 2.60 buglist2.60 KBCategory: kbprg kbbuglist KBSubcategory: FxprgTable
 * }