JimPhreak Posted June 27, 2015 Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Link to comment
Squid Posted June 27, 2015 Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. Link to comment
JimPhreak Posted June 27, 2015 Author Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. From command line I assume? Sorry not that familiar with Linux... Link to comment
CHBMB Posted June 27, 2015 Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. From command line I assume? Sorry not that familiar with Linux... Open a telnet prompt from your desktop or laptop. Putty is good if you're on Windows. type mc and you can navigate around Unraid. Link to comment
JimPhreak Posted June 27, 2015 Author Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. From command line I assume? Sorry not that familiar with Linux... Open a telnet prompt from your desktop or laptop. Putty is good if you're on Windows. type mc and you can navigate around Unraid. Perfect. Thanks! Link to comment
CHBMB Posted June 27, 2015 Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. From command line I assume? Sorry not that familiar with Linux... Open a telnet prompt from your desktop or laptop. Putty is good if you're on Windows. type mc and you can navigate around Unraid. Perfect. Thanks! There's also a docker container for a file manager - Krusader, but I think that kind of defeats the purpose of your original post and personally I still prefer mc, old habits.. Link to comment
JimPhreak Posted June 27, 2015 Author Share Posted June 27, 2015 So I want to start using dockers and I've been testing a few out. I've got a share on my cache drive called Docker and inside that share is a folder called appdata that I put all the configs for my different dockers. However there are a bunch of dockers that I've deleted but I'm unable to delete the appdata folders for them. If I try to do it within Windows I get a "File Access Denied: You need permission to perform this action." All my shares are setup the same way...Public. I can delete any media file within a user share I've created but nothing within the Docker share. What am I missing? Some dockers may write files within with differing permissions. You'd be able to delete them by loggin in locally and issuing an appropriate rm command or using mc. From command line I assume? Sorry not that familiar with Linux... Open a telnet prompt from your desktop or laptop. Putty is good if you're on Windows. type mc and you can navigate around Unraid. Perfect. Thanks! There's also a docker container for a file manager - Krusader, but I think that kind of defeats the purpose of your original post and personally I still prefer mc, old habits.. Thanks for the heads up. MC worked great and I think it will be just fine for any future needs . Link to comment
JimPhreak Posted June 27, 2015 Author Share Posted June 27, 2015 Ok I have my Plex Media Server docker setup but I need to be able to edit/overwrite the Preferences.xml file in to order to import some settings from my old PMS server. However the special permissions of that file are preventing me from editing/copying that file. Is there someway to edit this file easier than in MC (doesn't look user friendly with how it opens in just one long line)? Link to comment
JimPhreak Posted June 28, 2015 Author Share Posted June 28, 2015 Anyone know how to edit the Preferences.xml file? Link to comment
CHBMB Posted June 28, 2015 Share Posted June 28, 2015 Anyone know how to edit the Preferences.xml file? Think it's an ownership problem, could try running this command in the folder where preferences.xml resides and see. chown nobody:users Preferences.xml Link to comment
nightanole Posted June 28, 2015 Share Posted June 28, 2015 I just gave up and ham fisted it: telnet in: cd /mnt/cache/ chown -R 999:users apps chmod -R 777 apps My dockers/plugins are in the "apps" folder on my cache drive. Link to comment
JimPhreak Posted June 28, 2015 Author Share Posted June 28, 2015 I just gave up and ham fisted it: telnet in: cd /mnt/cache/ chown -R 999:users apps chmod -R 777 apps My dockers/plugins are in the "apps" folder on my cache drive. Not exactly sure what this means? Link to comment
CHBMB Posted June 29, 2015 Share Posted June 29, 2015 I just gave up and ham fisted it: telnet in: cd /mnt/cache/ chown -R 999:users apps chmod -R 777 apps My dockers/plugins are in the "apps" folder on my cache drive. Not exactly sure what this means? cd /mnt/cache/ Navigates to the /mnt/cache/ directory chown -R 999:users apps Changes ownership recursively to nobody of the group users for the apps directory chmod -R 777 apps Changes the file attributes recursively to read, write and execute for Owner, Group & Users Unraid is set up out of the box for files to belong to the nobody user of the group users. The command I posted chown nobody:users Preferences.xml Changes ownership of Preferences.xml to nobody:users Both achieve the same result but the command I posted will only allow you to edit the Preferences.xml file, whereas nightanole's solution will change all the permissions and owners of the content of the folder apps. Link to comment
JimPhreak Posted June 29, 2015 Author Share Posted June 29, 2015 Thank you for the explanation. Helps a lot. I really wish I knew linux more. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.