I figured out an awkward workaround.
upload the docx file to Google Doc, which converts the file to google document type
in Google Doc, File->Move the file to the directory in Google Drive.
It is not as direct and convenient as a hypothetical way where we can upload the file to Google Drive and make the file recognizable by Google Doc. ("...
The file type is Unknown File. You have to fix that first.
You might try to upload the file again, or if are able to use Google Apps Script / Google Drive API make a copy and set the correct MIME type to it.
How to change mimeType of a file in Google Drive using the REST API
Change Mime Type of Uploaded PDFs in Google Drive
Using Google Drive File Stream I had some extremely large files that refused to stay "online only" and would fill my local drive all the way up. I found a trick to fix this. Put these files in a new shared folder using Drive in your browser. Then, in your browser, right click the folder and choose "Hide shared drive". It's still very easy ...
You can lock your files, but unfortunately that is not a very simple action. No one can edit the file after locking, but unlocking is relatively easy. Here are the steps you need to take (Credits to https://www.labnol.org/code/read-only-google-drive-file-201011)
Get the shareable link for the file you want to lock. Right click on the file, click on the &...
If you want to show the path the first option is to add it manually as the link text. There is no built-in way to add the path link to the URL because Google Drive doesn't use conventional folders / directories to store files,
You could use Google Apps Script and Google Drive API to get the file location the add this data somewhere. Let say that you are ...
You can use add "shortcut to my drive". It does the same thing. But if you are a "Backup and Sync" user and want those folders to appear and even be reachable in your PC when you go offline you can go ahead and uninstall your "Backup and Sync" client and use the "Drive for Desktop" client instead. I don't know why ...
You can't remove yourself from a shared drive.
Shared drives belongs to a Google Workspace organization. Ask the organization admin to remove you from the shared drive.
Who is my administrator?
I just had the same problem and resolved it by right clicking on the unsyncing file in Google docs and chose: Make a copy. The copy turned out to be the most updated version, so I just deleted the original unsyncing version and renamed the copy the same as the original. All is now good again.