Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table is Locked for Editing
Message
De
16/04/2021 18:18:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01679842
Message ID:
01679856
Vues:
46
Is the server a member of a domain, and might there be a conflict between domain and local policy? Is it a DC itself?

It seems like you're going through a lot of hassle with Group Policy etc. and changing default policy settings (which are there for a reason). Changing permissions should not require a server restart.

I don't know how you've structured your data folders but I recall running into issues long ago with user/data folders on the root of the system drive and with using administrative shares (e.g. \\Server\C$) - these may be related. As a result I always set up file shares for user data - usually something like

C:\Shares\FileShare1
C:\Shares\FileShare2
...

then create security groups and give them Full Control permissions to the share(s), then add user accounts to the security groups.

I don't have to make GP changes and I don't see permissions issues such as you describe.

>I applied the same fixes but used the gpupdate /force but though it reported successful it did not work. So I had to wait until I could re-boot the server which I have just done and it works. So the net result is that the server must be re-booted.
>
>Simon
>
>
>>>Hi
>>>
>>>I setup a new Windows 2019 Server and I created a user in the Administrators group called "dCTask". When I log into the server as dCTask all my VFP applications complain that the data tables are read only. The tables do not have the read only flag checked. When I check the security tab the "Administrators group has full control. So I tried opening a table using Libre Office it reports that the table is "locked for editing by Unknown User". When I check the effective privileges in the Security tab for the dCTask user it says it has full control of everything.
>>>
>>>The only way I have found to fix this is the explicitly add the dCTask user in the security tab for the folder containing the tables which is redundant but works. Does anyone have any suggestions about what cases this problem?
>>>
>>>I should add that I did use the Group Policy Editor to disable running all Administrators in Admin Approval mode and I used gpupdate/force after the change.
>>
>>You had something similar in Message#01677468 . Have you applied the same fixes you did then?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform