Page 3 of 3

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 12:59
by Valkrider
Mike

I have in fact set it to E:\ for the projects folder. I have other mapped folders on my Mac HDD for other Windows apps to access. It seems as though it is FH that is reporting the location \\VBOXSVR\Family_Historian_Projects as that is what is set in the Project Window. I have now set it to E:\ BUT FH still reports the location as \\VBOXSVR\Family_Historian_Projects in your plugin. Most odd.

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 13:20
by tatewise
@Mervyn ~ Crossover is almost certainly not running the ICACLS command, nor the WHOAMI /GROUPS command at all.
So nothing gets into the log file except the ECHO %UserDomain%\\%UserName% command.
Unless those ICACLS and WHOAMI commands can be installed in Crossover that is the way it is.
Eventually, the script I am developing will try this command prompt method and if it fails will revert to the current method of saving & deleting a file to the folder and suffer the change to the Date modified.

@Colin ~ Have you tried closing and re-opening FH which might reset things?

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 14:25
by Valkrider
tatewise wrote:
18 May 2020 13:20
@Colin ~ Have you tried closing and re-opening FH which might reset things?
Spot on @Mike that has fixed it now reports as E:\

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 14:59
by tatewise
@Colin ~ Excellent! Is that something we need to add as advice in:- how_to:family_historian_v6_on_crossover_wine|> Family Historian V6 & Ancestral Sources V5 on Crossover, PlayOnLinux/Mac & Wine

Does Saturday's Plugin Version 0.7 now work without today's Version 0.8 fix for the network link?

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 17:44
by Valkrider
@Mike

No such luck unfortunately this is the result with 0.7
Screenshot 2020-05-18 at 19.42.53.png
Screenshot 2020-05-18 at 19.42.53.png (19.07 KiB) Viewed 4265 times
Whereas v0.8 still works fine.

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 18:10
by mjashby
Colin/Mike,

Could this be significant:

"Shared folders physically reside on the host and are then shared with the guest, which uses a special file system driver in the Guest Additions to talk to the host. For Windows guests, shared folders are implemented as a pseudo-network redirector. For Linux and Oracle Solaris guests, the Guest Additions provide a virtual file system."

Source: VirtualBox User Manual Section 4.3

I'm sure the way shared Folders/Drives were presented changed some time ago, possibly when VirtualBox version 6.0.0 was introduced. Now it's up to 6.1.8

If I remember correctly, setting up shared drives in a Windows VM used to result in the automatic allocation of Drive letters starting with the next in the alpha sequence, but from 6.0.0 (I believe) things changed to allocation using the more normal networking convention of working backwards form Z: for attached Drives and displaying the 'network' address with the allocated Windows Drive Letter in brackets. In Windows programs running in a Windows VM you can select Drives by their Letter Code, but if you examine the actual address what you see is the full network path. 'File Manager' Images attached showing how shared Drives (Folders) are presented in Linux and Windows.

Mervyn

Re: Review Folder Permissions Plugin Snippet

Posted: 18 May 2020 19:11
by tatewise
@Colin ~ Thank you ~ I'll stick with the Version 0.8 script.

@Mervyn ~ It seems that drive configuration is not relevant to this permissions scenario.

Re: Review Folder Permissions Plugin Snippet

Posted: 19 May 2020 03:37
by Ron Melby
Just for my edification, what is the issue faced with updating the date?

Re: Review Folder Permissions Plugin Snippet

Posted: 19 May 2020 09:25
by tatewise
Ron, see the latter postings in Backup and Restore Plug-In (17642) that discuss Date modified.