October 21, 20187 yr I can't seem to delete certain folders or files. I get an error about permissions. I'm running a recent version of unRAID, and trying to control it via a Macbook Pro connected via ethernet. I've shut down all apps and the macbook itself, restarted, also restarted the unraid server with w complete shutdown restart, still same files can't be deleted. Share permissions are all set to Public.
October 22, 20187 yr 3 hours ago, joefig44 said: I can't seem to delete certain folders or files. I get an error about permissions. Try running Tools - New Permissions against the particular share. If in doubt about what you're doing, then run Tools - Docker Safe New Permissions if you have Fix Common Problems installed
October 22, 20187 yr Author 11 hours ago, Squid said: Try running Tools - New Permissions against the particular share. If in doubt about what you're doing, then run Tools - Docker Safe New Permissions if you have Fix Common Problems installed I ran Tools - New Permissions against all shares, and it didn't do anything for this issue. Anything else I can try now?
October 22, 20187 yr Community Expert Try deleting them directly on the server using midnight commander (mc on the console)
October 24, 20187 yr Author On 10/22/2018 at 9:49 AM, johnnie.black said: Try deleting them directly on the server using midnight commander (mc on the console) How do I do that? I need to plug in a keyboard and monitor to the server I guess, but beyond that what commands do I run, how do I do that? Also, can't I open some sort of terminal session to the server instead?
October 24, 20187 yr Community Expert You can use the builtin terminal, and you don't need to run any commands, mc is like norton commander for dos, if you ever used that.
October 24, 20187 yr On 10/22/2018 at 9:26 AM, joefig44 said: I ran Tools - New Permissions against all shares Don't do that. I suggested against the particular share. Docker applications (appdata share usually) have their own specific ownership / permission requirements, and Tools - New Permissions against all shares may (or may not) impact the ability of the particular app to properly function. YMMV Is this a "normal" share you're having problems with, or something within appdata etc?
October 24, 20187 yr Author Here's my diagnostics file if it helps. executioner-diagnostics-20181024-1814.zip
October 24, 20187 yr Author 5 minutes ago, Squid said: Don't do that. I suggested against the particular share. Docker applications (appdata share usually) have their own specific ownership / permission requirements, and Tools - New Permissions against all shares may (or may not) impact the ability of the particular app to properly function. YMMV Is this a "normal" share you're having problems with, or something within appdata etc? It's a normal share, folders within the share specifically. Some files in those folders cannot be deleted while others can - it's spread out throughout various shares and folders within shares.
October 24, 20187 yr Author 10 minutes ago, johnnie.black said: You can use the builtin terminal, and you don't need to run any commands, mc is like norton commander for dos, if you ever used that. How do I launch the "built in" terminal and then how do I launch mc?
October 24, 20187 yr Community Expert 9 minutes ago, joefig44 said: How do I launch the "built in" terminal On the GUI, upper right corner. 9 minutes ago, joefig44 said: how do I launch mc? by typing mc on the console/terminal Edited October 24, 20187 yr by johnnie.black
October 25, 20187 yr Author 2 hours ago, johnnie.black said: On the GUI, upper right corner. by typing mc on the console/terminal Sorry, but I just don't see anything called mc or midnight commander anywhere on the GUI. I'm running version 6.2.4. The top right corner shows info about the server, description, uptime, etc. Under that there's Feedback, Log, etc. Am I looking in the right place?
October 25, 20187 yr 3 hours ago, joefig44 said: Sorry, but I just don't see anything called mc or midnight commander anywhere on the GUI. I'm running version 6.2.4. The top right corner shows info about the server, description, uptime, etc. Under that there's Feedback, Log, etc. Am I looking in the right place? Midnight Commander (mc) is run from the command prompt on the console or in a terminal session. It is not available in the GUI. The terminal is available from the GUI, but not in the outdated version of unRAID you are running. Terminal became available in unRAID 6.5,x, I believe (possibly 6.4.x?). It is definitely not in 6.2.4. You could also telnet or SSH into the server via PuTTY or another terminal emulator to run mc from the CLI. You can see it below in a screen grab from my 6.6.3 server. Edited October 25, 20187 yr by Hoopster
October 25, 20187 yr Author o 9 hours ago, Hoopster said: Midnight Commander (mc) is run from the command prompt on the console or in a terminal session. It is not available in the GUI. The terminal is available from the GUI, but not in the outdated version of unRAID you are running. Terminal became available in unRAID 6.5,x, I believe (possibly 6.4.x?). It is definitely not in 6.2.4. You could also telnet or SSH into the server via PuTTY or another terminal emulator to run mc from the CLI. You can see it below in a screen grab from my 6.6.3 server. Ok, maybe what I need to do is get my unraid updated first to the newest version. I'll start looking into that
October 25, 20187 yr Author 10 hours ago, Hoopster said: Midnight Commander (mc) is run from the command prompt on the console or in a terminal session. It is not available in the GUI. The terminal is available from the GUI, but not in the outdated version of unRAID you are running. Terminal became available in unRAID 6.5,x, I believe (possibly 6.4.x?). It is definitely not in 6.2.4. You could also telnet or SSH into the server via PuTTY or another terminal emulator to run mc from the CLI. You can see it below in a screen grab from my 6.6.3 server. Ok, I managed to upgrade and get mc working. When I go into the folder that I want to delete, and I use mc to delete any or all of the files in there, it immediately replaces the file with another file with a name of ".fuse_hidden0000xxxxxxxxx", where the x's are just a random number. When I go to the parent folder and try to delete it, mc says it can't because the folder is not empty. When I try to delete each of these .fuse_hidden files, it just replaces the one I deleted with another .fuse_hiddenxxx file. P.S. - it should also be noted that in another folder, I managed to delete one file without it creating the .fuse_hiddenxxxxx replacement file, but it only happened once. the rest in that other folder created more randome .fuse_hiddenxxxxx files Edited October 25, 20187 yr by joefig44
October 25, 20187 yr 53 minutes ago, joefig44 said: Ok, I managed to upgrade and get mc working. When I go into the folder that I want to delete, and I use mc to delete any or all of the files in there, it immediately replaces the file with another file with a name of ".fuse_hidden0000xxxxxxxxx", where the x's are just a random number. When I go to the parent folder and try to delete it, mc says it can't because the folder is not empty. When I try to delete each of these .fuse_hidden files, it just replaces the one I deleted with another .fuse_hiddenxxx file. You can recursively delete a folder and all its contents (subfolders and files) with the 'rm -rf [folder name]' command from the CLI. With this command a folder does not have to be empty before it can be deleted. The -f argument force deletes the files. .fuse_hidden files are created when a file is deleted that is in use or open by another process. They are automatically removed when the process using them exits or quits holding the file open or upon reboot of the server.
October 25, 20187 yr Author 3 hours ago, Hoopster said: You can recursively delete a folder and all its contents (subfolders and files) with the 'rm -rf [folder name]' command from the CLI. With this command a folder does not have to be empty before it can be deleted. The -f argument force deletes the files. .fuse_hidden files are created when a file is deleted that is in use or open by another process. They are automatically removed when the process using them exits or quits holding the file open or upon reboot of the server. What is the CLI? Where do I enter that command? Good to know about the .fuse files, but I have no idea what other process would be using them. I've shut down the unraid server and restarted, as well as any connected devices that would be using any of those files.
October 25, 20187 yr 14 minutes ago, joefig44 said: What is the CLI? Where do I enter that command? CLI = Command Line Interface it's what you see when you have a monitor/keyboard attached to your server or you start a terminal session. At the CLI you manually type in commands at the system prompt instead of doing something through a GUI. You typed 'mc' at the CLI to start Midnight Commander. Now, start a terminal session from the GUI and at the CLI type 'rm -rf /path/to/folder/you/want/to/delete'
November 27, 20205 yr On 10/25/2018 at 11:24 AM, Hoopster said: CLI = Command Line Interface it's what you see when you have a monitor/keyboard attached to your server or you start a terminal session. At the CLI you manually type in commands at the system prompt instead of doing something through a GUI. You typed 'mc' at the CLI to start Midnight Commander. Now, start a terminal session from the GUI and at the CLI type 'rm -rf /path/to/folder/you/want/to/delete' thanks it worked !
Archived
This topic is now archived and is closed to further replies.