November 26, 201213 yr 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! 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.
November 26, 201213 yr 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"
November 26, 201213 yr You have to escape the folder. Try typing the DIE and pushing tab to autocomplete it.
November 26, 201213 yr 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.
November 26, 201213 yr Crap i forgot to escape when i typed that. newperms /mnt/user/Music/DIE ANTWOORD
Archived
This topic is now archived and is closed to further replies.