Page 1 of 1

Admin user and credentials?

Posted: 24 Nov 2018 10:13
by Filehero
Hi,

finally I've come around to make significant progress with my new machine setup (what a hassle, never had hardware problems before, but this time .... :twisted: ).

After setting up the new system the initial credentials of my XYplorer temp folder hierarchy assigns full access for (group) administrators only (the old owner userd ids aren't known to the new windows installation, of course). My admin account/user by Windows standard is member of group "Administrators". When logged in as admin user and run a XY script which tries to write a log file located within these folder structure I got an Script error "permission denied". This can be overcome by restarting XYplorer elevated.

Why do I need to explicitly run XYplorer as admin with an account belonging to group administrators to get write access? Is this a Windows or an XYplorer thing?

Thanks,
Filehero

Re: Admin user and credentials?

Posted: 24 Nov 2018 10:24
by highend
What happens if you double click on this folder from within Windows Explorer, do you
get the message "You don't currently have permission to access this folder"?

Re: Admin user and credentials?

Posted: 24 Nov 2018 14:57
by Filehero
highend wrote: ↑24 Nov 2018 10:24 What happens if you double click on this folder from within Windows Explorer, do you
get the message "You don't currently have permission to access this folder"?
No.

But this was the missing hint. When I open the file with Notepad++ from Windows Explorer saving a change makes Notepad++ wanting to restart in Admin mode as well. If add explicit full access rights for my admin user it works.

So it's a Windows thing. I thought I had understood the major parts for Windows' credential system. But I don't understand why the admin user doesn't get full access simply by its membership in 'administrators', this is whole purpose of groups.

/e: added a missing "o".