docs: data folder recovery names the console's account; superseded rows marked
The Windows README removed only the prompt's own account from a data folder created by an unelevated console run, which missed a console run by a standard user. It now removes the account the service's refusal names. The DECISIONS rows on OneDrive sync roots and on the service's start-up log say which later rows partly supersede them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
2 files changed
+13
-11
No files matched your search
@@ -128,15 +128,17 @@ accounts and read by other users; when other users can change an existing archiv
|
||||
Run `Titano.Server.exe` in a console, or install it as a Windows service from an administrator prompt with
|
||||
`Titano.Server.exe --install-service` (remove it with `--uninstall-service`). The service runs as LocalSystem, so it
|
||||
registers only from a copy inside `Program Files` that only administrators can change: install for *All users*, or
|
||||
unpack the zip into a folder under `Program Files`. A console run that was not elevated creates the data folder as your
|
||||
own account, and the service then refuses it. Either delete the folder (with SQLite this also deletes the server's
|
||||
database and its accounts), or, before you start the service, give the folder and everything in it to Administrators
|
||||
and take your account's access to it away, from a Command Prompt run as administrator under that same account:
|
||||
`takeown /F "C:\ProgramData\Titano Server" /A /R`, then
|
||||
`icacls "C:\ProgramData\Titano Server" /remove:g "%USERDOMAIN%\%USERNAME%" /T`. No other account gains access at any
|
||||
step, and afterwards only SYSTEM and Administrators have it, to the TLS key and `initial-admin-password.txt` too. Do
|
||||
not reset the folder's permissions (`icacls /reset`): everything in it would then inherit those of `C:\ProgramData`,
|
||||
which let every user read it.
|
||||
unpack the zip into a folder under `Program Files`. A console run that was not elevated creates the data folder as the
|
||||
account that ran it, and the service then refuses the folder and names that account (`… belongs to PC\name …`).
|
||||
Either delete the folder (with SQLite this also deletes the server's database and its accounts), or give the folder
|
||||
and everything in it to Administrators and take that account's access to it away, from a Command Prompt run as
|
||||
administrator: `takeown /F "C:\ProgramData\Titano Server" /A /R`, then
|
||||
`icacls "C:\ProgramData\Titano Server" /remove:g "PC\name" /T`, with the account the refusal names in place of
|
||||
`PC\name` (`dir /q C:\ProgramData` also shows it, as the folder's owner, until `takeown` runs). When you ran the
|
||||
console yourself and the prompt runs as you, that account is `"%USERDOMAIN%\%USERNAME%"`. Then start the service. No
|
||||
other account gains access at any step, and afterwards only SYSTEM and Administrators have it, to the TLS key and
|
||||
`initial-admin-password.txt` too. Do not reset the folder's permissions (`icacls /reset`): everything in it would then
|
||||
inherit those of `C:\ProgramData`, which let every user read it.
|
||||
|
||||
## Translations
|
||||
|
||||
|
||||
Reference in new issue
Block a user