superloopy1 Posted July 12, 2019 Share Posted July 12, 2019 Hi ... I've cleared down an 8TB disk in advance if changing FS from Reider to xfs BUT I"m left with one docker folder (Krusader) which won't move or delete saying that I require root/system permissions to complete?? How do I fix this? Docker isn't enabled on the array, the folder appears to have not been removed when I deleted Krusader a while back. Also, no docker image exists. Just need to get rid of this pesky33Mb then I can crack on with the reformat. Thanks. Quote Link to comment
Squid Posted July 12, 2019 Share Posted July 12, 2019 1 minute ago, superloopy1 said: Hi ... I've cleared down an 8TB disk in advance if changing FS from Reider to xfs BUT I"m left with one docker folder (Krusader) which won't move or delete saying that I require root/system permissions to complete?? How do I fix this? Docker isn't enabled on the array, the folder appears to have not been removed when I deleted Krusader a while back. Also, no docker image exists. Just need to get rid of this pesky33Mb then I can crack on with the reformat. Thanks. Don't worry about it. Doesn't really contain anything of use anyways. Just the working directory for Krusader. But, if you are worried about it, chmod 0777 -R /mnt/user/appdata/ And then it'll move. Quote Link to comment
superloopy1 Posted July 12, 2019 Author Share Posted July 12, 2019 Didn't sort it i'm afraid .... Quote Link to comment
JonathanM Posted July 12, 2019 Share Posted July 12, 2019 Am I missing something? If you don't need the contents of the folder, just format the drive. It doesn't need to be empty to format successfully, and it will certainly be empty after it's formatted. Quote Link to comment
Delarius Posted July 12, 2019 Share Posted July 12, 2019 I'd guess the files/directory might have a the 'immutable' attribute set. You can check with: lsattr /path/2/problem/fileordirectory if you see an 'i' in the listing it's immutable - fix it with (you might want to use -R to do it recursively): chattr -i /path/2/problem/fileordirectory That should allow you rm the file if needed. Del Quote Link to comment
superloopy1 Posted July 13, 2019 Author Share Posted July 13, 2019 Thanks all, bookmarked. In the end i just formatted the drive, didnt think it would allow me to with a file on it but there you are. Quote Link to comment
JonathanM Posted July 13, 2019 Share Posted July 13, 2019 14 minutes ago, superloopy1 said: didnt think it would allow me to with a file on it Just curious, how did you arrive at that thought? Quote Link to comment
itimpi Posted July 13, 2019 Share Posted July 13, 2019 16 minutes ago, superloopy1 said: Thanks all, bookmarked. In the end i just formatted the drive, didnt think it would allow me to with a file on it but there you are. Format does not care if there are files present. In fact one of the commonest user errors is doing a format as part of a rebuild process (format is not part of that process!) leading to loss of the data on the disk being rebuilt Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.