- Liittynyt
- 13.12.2016
- Viestejä
- 3 437
Niin tai sitten ei teekkään mitään. Mullahan on tosiaan läppäri, mutta minusta olen huomannut siinä saman ongelman, että kun siirtänyt levyltä admin-oikeuksilla niin edelleen käyttäjä-tilillä niitä pystyy muokata. Hmm. Siitä on kyllä aikaa, mutta ajattelin että johtuuko tämä nyt siitä että levy on vain pelkkä SSD ja siitä johtuisi, eikä erillinen levy keskusyksikön sisällä vs. käyttislevy.
Tiedostot perii oikeudet siitä juuri kansiosta, jonne kopioit. Eli jos kopioit tyhjälle uudelle asemalle, jossa oletuksena on käyttäjillä täydet oikeudet, periytyy nämä oikeudet niihin kopioituihin tiedostoihin. Poikkeuksena saman voluumin sisällä tehty tiedostojen siirto tai kopiointi säilyttää tiedostojen oikeudet. Tämä on NTFS järjestelmän ominaisuus. Levyn tyyppi ei tuohon vaikuta.
Rekisteriä muokkaamalla voi tuota muuttaa.
You can modify how Windows Explorer handles permissions when objects are moved in the same NTFS volume. As mentioned, when an object is moved within the same volume, the object preserves its permissions by default. However, if you want to modify this behavior so that the object inherits the permissions from the parent folder, modify the registry as follows:
- Click Start, click Run, type regedit in the Open box, and then press ENTER.
- Locate and then click the registry key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer.
- On the Edit menu, click Add Value, and then add the following registry value:
- Value name: ForceCopyAclwithFile
- Data type: DWORD
- Value data: 1
- Exit Registry Editor.
- Click Start, click Run, type regedit, and then press ENTER.
- Locate and then click the registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer.
- On the Edit menu, click Add Value, and then add the following registry value:
- Value name: MoveSecurityAttributes
- Data type: DWORD
- Value data: 0
- Exit Registry Editor.
- Make sure that the user account that is used to move the object has the Change Permissions permission set. If the permission is not set, grant the Change Permissions permission to the user account.
By default, an object inherits permissions from its parent object, either at the time of creation or when it is copied or moved to its parent folder. The only exception to this rule occurs when you move an object to a different folder on the same volume. In this case, the original permissions are retained.
Permissions when you copy and move files - Windows Client | Microsoft Learn
