Windows 10 read only black square
windows 10 does not allow me to remove the read only checkbox in the properties of a directory. Show
Hi guys; I am learning programming, and I have encountered a problem that is related to the operating system and not to the programming, just to put them in context: to program in php using symfony v5.3; requires being able to put write permissions to a specific folder ... the related directory is: this directory exists; you have the necessary users and the users have the read and write permissions; the problem is that no matter how much I try to change the read-only check-box it persists ... I have tried everything that this other post says and I have not found a solution; even I do not receive any errors ... and in the post I do mention if there is an error ... Windows 10 not able to remove read only atttribute of the folders even run the following command if no result ...
If more information is needed, do not hesitate to request it. Update: To rule out that it is a user permissions problem or that it is a problem with the php script I have done the following:
Output: result of this: solve the problem in a bad way ... if the user does not have the necessary permissions; PHP would have thrown a fatal error! with this patch the error is removed but it is not the correct thing. This is not correct because I should not change permissions from my code ... it is assumed that the permissions must be on the properties and attributes of the directory. if I remove the patch then the error will come up again; this tells me that it does not matter if I put the attribute or permission; this is lost ... Let's clarify the following: in order to create files (any format) within a directory, we programmers must validate that within that directory we can write ... in Linux the directory must have at least 755 permissions; so I ask you where I can do something similar with Windows? when we validate a directory, with If your folder keeps reverting to read-only it could be due to a recent Windows 10 upgrade. Many users have reported that when upgrading their system to Windows 10, they encountered this error. Read-only is a file/folder attribute that lets only a specific group of users read or edit the files or folder. This can get infuriating, however, the fix is quite simple and easy but may differ depending on the scenario that caused it. Generally,
when you encounter such an issue, you can easily overcome it by unchecking the read-only attribute box found in the properties of the file/folder. However, this case is not that simple. You won’t be able to change the read-only attribute of the file/folder which gets annoying. Nevertheless, this article will teach you how to access your files/folders again — just follow through with the instructions. This might be happening to you due to various reasons, nonetheless, the most generic ones are — The possible and effective solutions for this problem are: – Disable Controlled AccessBefore we try other technical solutions, we will first try to disable the Controlled Folder Access in your settings. This is a hotfix and you may proceed with other solutions if this doesn’t work for you.
Log in as an AdministratorTo start with the common mistake, if you have created multiple accounts on your system, make sure you are signed in as an administrator while accessing the file. The reason you are not able to read or edit the file/folder could be that the file/folder was created using an administrator account and you are trying to access it using a guest account or any other. Hence, before you move into the solutions mentioned below, make sure you are using the administrative account. Change the Attribute of the FolderIf you are logged in as an administrator and still unable to access the files, then in such a case, you’ll have to change the attribute of the file using the command prompt. To do this, follow the given instructions:
attrib -r +s drive:\
attrib -r -s drive:\ |