When connecting several computers to a network, in order to access some folders, you must make the appropriate changes to the settings of these directories. Sharing folders and files allows you to perform any action that could lead to unwanted consequences, such as deleting the files you want. To block files, you must prohibit their deletion, and the file editing option must remain active.
Necessary
Editing sharing settings
Instructions
Step 1
To create a shared folder, select the required folder in Explorer, right-click on it, and select “Sharing and Security” in the context menu. In the window that opens, check the box next to the item "Share this folder", then check the item "Allow changing files over the network." After clicking on the "Apply" button, a window will appear on the screen, in which the process of changing the attribute of the files contained in the selected folder will be displayed.
Step 2
Created a shared access to the folder, now it became possible to edit any file of the selected folder. To prohibit deleting a file from a shared folder, right-click on the folder and select Properties from the context menu. In the window that opens, go to the "Security" tab. Select the username under which you are logged in, click the "Advanced" button.
Step 3
In the window that opens, on the "Permissions" tab, click the "Change" button. In the new window "Folder permission item" check the boxes next to "Delete subfolders and files" and "Delete". Then click the "OK" button.
Step 4
On the Permissions tab, click the Apply button. You will see a window with a warning about changing the elements of the ban, click the "Yes" button. Then press the "OK" button 2 times.
Step 5
Open the shared folder and try deleting any file. After a short wait, a window will appear informing you about an error in deleting the file.