Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the "dosdevices" folder always exist? #1113

Open
madoar opened this issue Sep 1, 2019 · 7 comments
Open

Does the "dosdevices" folder always exist? #1113

madoar opened this issue Sep 1, 2019 · 7 comments

Comments

@madoar
Copy link
Collaborator

madoar commented Sep 1, 2019

In the following lines of the sandbox script we remove two subfolders of the dosdevices folder:

remove(this.prefixDirectory() + "/dosdevices/z:");
remove(this.prefixDirectory() + "/dosdevices/y:");

After executing the sandbox verb modified in #1112, I received an error because these folders don't exist.

@plata
Copy link
Collaborator

plata commented Sep 2, 2019

I don't know. @qparis or maybe also @Gcenx?

@Gcenx
Copy link

Gcenx commented Sep 2, 2019

Those symlinks usually exist, however were are you getting the error from?

If it’s wine that one thing if it’s coming from PhoenicisOrg that’s another matter, if it’s PhoenicisOrg it shouldn’t be giving an error of the symlinks are missing

If it’s wine then a registry setting is missing so it doesn’t keep remaking those symlinks on launch.

@madoar
Copy link
Collaborator Author

madoar commented Sep 2, 2019

I get this error in Phoenicis when trying to delete the folders during the setup of a sandbox.
The sandbox setup the dosdevices/z: and dosdevices/y: are first deleted and then replaced by a symbolic link. The error occurs during the removal of the initial dosdevices/z: and dosdevices/y: folders.

@madoar
Copy link
Collaborator Author

madoar commented Sep 2, 2019

See also:

var tmp = Bean("propertyReader").getProperty("application.user.tmp");
var resources = Bean("propertyReader").getProperty("application.user.resources");
remove(this.prefixDirectory() + "/dosdevices/z:");
remove(this.prefixDirectory() + "/dosdevices/y:");
lns(tmp, this.prefixDirectory() + "/dosdevices/z:");
lns(resources, this.prefixDirectory() + "/dosdevices/y:");

@Gcenx
Copy link

Gcenx commented Sep 3, 2019

Originally ‘z’ is a symlinks to ‘/‘ and ‘y:’ would be a symlinks to possibly a disk drive or some other mounted drive.

I’m not sure why symlinks are created as when you remove these from within winecfg they don’t get replaced with folders, they just no longer exist until configured within winecfg again.
If this is all being configured from within Phoenicis then it should remove the symlink when disabled and make it again when disabled

@madoar
Copy link
Collaborator Author

madoar commented Sep 7, 2019

@Gcenx do we run into any problems if we manually create the symlink outside wine?

@Gcenx
Copy link

Gcenx commented Sep 9, 2019

@madoar I don’t remember any issue when doing anything outside of wine as long as any needed registry entry’s were added/edited/generated correctly it’s always been fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants