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

2.2.6 RC7 broke running of files as admin #404

Open
JayanWarden opened this issue Oct 8, 2024 · 8 comments
Open

2.2.6 RC7 broke running of files as admin #404

JayanWarden opened this issue Oct 8, 2024 · 8 comments

Comments

@JayanWarden
Copy link

System information

zfswin-2.2.6rc7
zfs-kmod-zfswin-2.2.6rc7
Windows 11 23H2

Describe the problem you're observing

Upon updating to the new RC, applications cannot be started as Admin on a ZFS volume anymore

Describe how to reproduce the problem

Create a simple dummy .bat file on a ZFS volume.
In my testing, I used a ZVOL directly, not a dataset.

Then, try to launch the .bat file with rightclick -> run as admin.

The command will fail with "Auf [test.bat] konnte nicht zugegriffen werden" , translating to "Could not access [test.bat]".

The .bat file can be launched without admin without problems.

@lundman
Copy link

lundman commented Oct 8, 2024

Huh that is surprising. I'll check into it

@lundman
Copy link

lundman commented Oct 9, 2024

Yeah definitely doesn't work. Not much in FileSpy output either - peculiar.

@lundman
Copy link

lundman commented Oct 10, 2024

You can change the error by setting mimic on, so that is interesting. Launching as admin cares about filesystem type?

@JayanWarden
Copy link
Author

At least on 2.2.3-RC6 this still worked. I updated from that release, so something might have changed

@lundman
Copy link

lundman commented Oct 10, 2024

I tried 2.2.6-rc6, rc5, rc4 and had the same issue. But didn't go as far back as 2.2.3. But it'll just be a quirk somewhere.

@lundman
Copy link

lundman commented Oct 11, 2024

da1fdfb plus setting mimic=ntfs will fix it.

@JayanWarden
Copy link
Author

I will test once a new RC gets pushed.

mimic is a parameter for zpool import ?

@lundman
Copy link

lundman commented Oct 11, 2024

It's for any dataset, like zfs set com.apple.mimic=ntfs POOL/dataset

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

2 participants