Cannot delete files from previous windows partition

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
lorem4ster
Level 1
Level 1
Posts: 15
Joined: Wed May 25, 2022 1:15 pm

Re: Cannot delete files from previous windows partition

Post by lorem4ster »

I'm unable do to anything on this hard disk, create folders, add files etc. How can I change that? I want to be able to use my hard disk.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Cannot delete files from previous windows partition

Post by Cosmo. »

Follow my advice in viewtopic.php?p=1463755#p1463755

Possibly there is a problem, which you created by using root.
lorem4ster
Level 1
Level 1
Posts: 15
Joined: Wed May 25, 2022 1:15 pm

Re: Cannot delete files from previous windows partition

Post by lorem4ster »

I will follow the advice and report back. I thought doing a fresh installation and deleting everything would have solved the issue. I haven't used root access since doing the fresh installation
lorem4ster
Level 1
Level 1
Posts: 15
Joined: Wed May 25, 2022 1:15 pm

Re: Cannot delete files from previous windows partition

Post by lorem4ster »

I figured it out, thank you
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Cannot delete files from previous windows partition

Post by Cosmo. »

Please show also the output of

Code: Select all

ls -la home
lorem4ster
Level 1
Level 1
Posts: 15
Joined: Wed May 25, 2022 1:15 pm

Re: Cannot delete files from previous windows partition

Post by lorem4ster »

Is this alright?
Attachments
Screenshot from 2022-05-28 13-01-11.png
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Cannot delete files from previous windows partition

Post by Cosmo. »

lorem4ster wrote: Sat May 28, 2022 6:01 am Is this alright?
From content: yes, looks good.

From display: No.
Please copy the output in a terminal and paste it as text in your answer. After pasting mark the output (not other text) and click in the editor window the 5th button </>, called code button. This is especially important for the other output, which might be somewhat longer.
lorem4ster
Level 1
Level 1
Posts: 15
Joined: Wed May 25, 2022 1:15 pm

Re: Cannot delete files from previous windows partition

Post by lorem4ster »

Code: Select all

total 12
drwxr-xr-x  3 root   root   4096 May 28 09:56 .
drwxr-xr-x 19 root   root   4096 May 28 12:58 ..
drwxr-xr-x 26 dragos dragos 4096 May 28 15:16 dragos
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Cannot delete files from previous windows partition

Post by pbear »

For future reference, creating partitions is an admin procedure, so the partitions created are by default owned by user-root. This is how it works if you use Terminal and also how GParted works. If you want a user to own a partition, chown is the usual way to do that. Disks, on the other hand, generally creates partitions with user privileges (assuming the user has sudo privileges, and so power to create partitions in the first place). That's preferable in some cases and not in others. So, whichever tool you use, you should consider at the end what access privileges are appropriate.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Cannot delete files from previous windows partition

Post by Cosmo. »

lorem4ster wrote: Sat May 28, 2022 9:16 am

Code: Select all

total 12
drwxr-xr-x  3 root   root   4096 May 28 09:56 .
drwxr-xr-x 19 root   root   4096 May 28 12:58 ..
drwxr-xr-x 26 dragos dragos 4096 May 28 15:16 dragos
Perfect.

Now we are waiting for this result: viewtopic.php?p=2181559#p2181559
Locked

Return to “Software & Applications”