deleting files requires permissions of deleted user

Status
Not open for further replies.

RagtimeBetty

Cadet
Joined
Jun 11, 2018
Messages
5
I have a nas that was set up by me ex - his user profile is deleted, my user has root however I can't seem to delete a bunch of folders as it requires permissions from the user, command line doesnt run and deleting the folder thru windows generates permission error.
is there another way to delete the folders?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Use the shell and rm -R /path/to/file to remove them. Be careful though, using the -R switch will permanently remove whatever you tell it to.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
chown root:root /path/to/file?
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
post the output of ls -la /path/to/folder
and rm -rf /path/to/folder
And again the warning about being careful with rm -rf, especially when run as root.
 
Status
Not open for further replies.
Top