Jump to content
Sign in to follow this  
superloopy1

Root perms required?

8 posts in this topic Last Reply

Recommended Posts

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.

Share this post


Link to post
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.

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post
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?

Share this post


Link to post
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

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this