Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cannot delete folder. chmod not working

Featured Replies

I am trying to delete a folder via terminal. i think im doing it right but i dont use the terminal often. i took ownership with:

 

chown -R root /mnt/disk8/ZERO/FOLDER

 

and set permissions with:

 

chmod -R 777 /mnt/disk8/ZERO/FOLDER

 

then deleted it with:

 

rm -R /mnt/disk8/ZERO/FOLDER

 

it keeps saying its read only. am i doing something wrong?

 

I am trying to delete a folder via terminal. i think im doing it right but i dont use the terminal often. i took ownership with:

 

chown -R root /mnt/disk8/ZERO/FOLDER

 

and set permissions with:

 

chmod -R 777 /mnt/disk8/ZERO/FOLDER

 

then deleted it with:

 

rm -R /mnt/disk8/ZERO/FOLDER

 

it keeps saying its read only. am i doing something wrong?

 

The command to remove a directory is

rmdir directory_name

  • Author

wow, ok now im getting some weird stuff. i was trying to copy some stuf to my server and i am getting a permission denied. cant create a folder either. i checked the terminal and syslog and got tons of this:

Mar  2 17:44:35 zero kernel: REISERFS error (device md8): vs-4080 _reiserfs_free_block: block 208797957: bit already cleared

 

here is the entire log:

http://www.mediafire.com/?h02iho1m2u0

 

im clueless. ran a rfscheck through the webui but i dont think it did anything.

The command to remove a directory is

rmdir directory_name

Joe, the command he is using is perfectly fine "rm -R /mnt/disk8/ZERO/FOLDER" will remove FOLDER and any files still left in it. rmdir will NOT remove the folder if there are still any files left in it. I personally find rmdir quite useless and just stick with rm -r (unless of course you always want to play it extra safe). ;D

 

bobbintb, that filesystem isn't mounted read only is it? Usually when a linux filesystem starts having too many errors or something bad happens it will get remounted by the kernel as read only. Not sure how unraid handles that though.

  • Author

well, i popped the disk into a linux machine and ran gparted. all my problems are fixed now. i cen never seem to use the terminal in unraid properly. on that note, anyone know how i can add ubuntu to the syslinux on the unraid flash? ive tried unsuccessfully before. alway sends up with something broken.

Your best bet is probably installing the full Slackware distro with unraid. I wouldn't try any other distros such as ubuntu unless you are VERY skilled at linux. Slackware (and unraid) use a different init system than most other linux distros so you would end up doing a lot of changing to get it working on something else.

 

I followed the wiki on installing slackware with unraid and it was surprisingly easy. The way the wiki is formatted makes it look really hard and a couple of things were wrong. But for the most part it was easy and works pretty much like unraid does on it's own. Give that a try.

  • Author

Your best bet is probably installing the full Slackware distro with unraid. I wouldn't try any other distros such as ubuntu unless you are VERY skilled at linux. Slackware (and unraid) use a different init system than most other linux distros so you would end up doing a lot of changing to get it working on something else.

 

I followed the wiki on installing slackware with unraid and it was surprisingly easy. The way the wiki is formatted makes it look really hard and a couple of things were wrong. But for the most part it was easy and works pretty much like unraid does on it's own. Give that a try.

 

good advice. thanks.  ;)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.