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.

[SOLVED] How to change ownership of 1 directory

Featured Replies

Hi all,

 

I know its been answered before so I must be doing something wrong.

 

I've got a directory that is owned by "1000". I think its because I've been mucking around with the users. Anyway, I'm trying to change the ownership back to "nobody" by issuing the following command through telnet as the root user:

 

chown -Rv nobody:users DIE\ ANTWOORD

 

Don't judge me!  ;D

 

It keeps returning "failed to change ownership of `DIE ANTWOORD' to nobody:users".

 

What am I doing wrong?

 

Thanks

 

Edit: Im using Unraid 5 rc8 if that makes any difference.

 

chown -R nobody:users /path/to/dir should do it.

  • Author

Thanks shat

 

I thought I was close but I cannot seem to get it right. Here are the things ive tried

 

Linux 3.4.11-unRAID.

root@Tower:~# chown -R nobody:users /music/DIE ANTWOORD

chown: cannot access `/music/DIE': No such file or directory

chown: cannot access `ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users /music/DIE\ ANTWOORD

chown: cannot access `/music/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users /Music/DIE\ ANTWOORD

chown: cannot access `/Music/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users /TOWER/Music/DIE\ ANTWOORD

chown: cannot access `/TOWER/Music/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users TOWER/Music/DIE\ ANTWOORD

chown: cannot access `TOWER/Music/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users TOWER/Music/DIE\ANTWOORD

chown: cannot access `TOWER/Music/DIEANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users TOWER/Music/DIE ANTWOORD

chown: cannot access `TOWER/Music/DIE': No such file or directory

chown: cannot access `ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users /DIE\ ANTWOORD

chown: cannot access `/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users user/DIE\ ANTWOORD

chown: cannot access `user/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users /user/Music/DIE\ ANTWOORD

chown: cannot access `/user/Music/DIE ANTWOORD': No such file or directory

root@Tower:~# chown -R nobody:users user/Music/DIE\ ANTWOORD

chown: cannot access `user/Music/DIE ANTWOORD': No such file or directory

root@Tower:~#

 

Any other ideas? There definitely is a folder in my Music share called "DIE ANTWOORD"

You have to escape the folder. Try typing the DIE and pushing tab to autocomplete it.

Ah you are escaping it. Sorry the quotes through me off. Your path will start with /mnt/user/ then rest of the path. Sorry on phone and cant see thread and didnt quote.

At console type: newperms /mnt/user/Music/DIE ANTWOORD

Crap i forgot to escape when i typed that.

 

newperms /mnt/user/Music/DIE ANTWOORD

  • Author

You Legend!

 

Thanks so much. Its working now.

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.