Author Topic: File Permissions rears it's ugly head once again. [ABANDONED]  (Read 461 times)

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3024
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
File Permissions rears it's ugly head once again. [ABANDONED]
« on: November 20, 2019, 04:25:17 pm »
I Guess I never figured out how to actually resolve this issue i have with resetting file permissions previously, but just let it sit. https://forum.peppermintos.com/index.php/topic,5936.0.html But now that I am in need of some files on the drive and want to modify many of them I am at a loss. I attempted to use DISKS to reset permissions across the entire drive, to no avail. This particular platter harddrive dates way way back in time and holds files dating back to the Win98 SE era. meanwhile a much newer 1 TB platter drive is showing up as  SELF-TEST FAILED! Happily it's not got critical files stored, it's only got files that are third level back up.

I'm unsure what to do now that this error message appeared across the thousands of files and folders stored there:


Code: [Select]
spence@antec ~ $ find /media/spence/WD500 -type f -exec chmod 644 {} \;
find: ‘/media/spence/WD500’: No such file or directory
spence@antec ~ $ find  /media/spence/0018ba15-4046-498c-b8dc-0824aa044320 -type f -exec chmod 644 {} \;
chmod: changing permissions of '/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/bookmarks/bookmarks_2_2_18.html': Operation not permitted
chmod: changing permissions of '/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/bookmarks/sm bookmarks_2_2_18.html': Operation not permitted
chmod: changing permissions of '/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/bookmarks/bookmarks-1.html': Operation not permitted
chmod: changing permissions of '/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/bookmarks/yt bookmarks.html': Operation not permitted
chmod: changing permissions of '/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/bookmarks/bookmarks.html': Operation not permitted
chmod: changing permissions of "/media/spence/0018ba15-4046-498c-b8dc-0824aa044320/chat logs lesliesportsmom's.txt": Operation not permitted
« Last Edit: January 29, 2020, 08:19:05 am by spence »
spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 3024
  • Karma: 345
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Re: File Permissions rears it's ugly head once again. [SOLVED]
« Reply #1 on: November 20, 2019, 05:15:13 pm »
 :)

Happily, moving the needed files from my backup drive to the main NVME drive solves the issue. Guess that means a new storage drive is on the Christmas list!!! Even more happily, my ASRock motherboard has a couple spare spots for new NVME drives.  It's nice when the brain injury fog clears away now and again.

 8)

spence
PeppermintOS 10 Respin currently installed  on:
'16 Antec Aria rebuild
& '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: File Permissions rears it's ugly head once again.
« Reply #2 on: November 20, 2019, 07:16:11 pm »
If you KNOW that /media/spence/0018ba15-4046-498c-b8dc-0824aa044320 is the correct drive (and your username:group == spence:spence) .. try
Code: [Select]
sudo find /media/spence/0018ba15-4046-498c-b8dc-0824aa044320 -type f -exec chmod 644 {} \;then
Code: [Select]
sudo find /media/spence/0018ba15-4046-498c-b8dc-0824aa044320 -type d -exec chmod 755 {} \;then
Code: [Select]
sudo chown -R spence:spence /media/spence/0018ba15-4046-498c-b8dc-0824aa044320then
Code: [Select]
sudo chmod 777 /media/spence/0018ba15-4046-498c-b8dc-0824aa044320
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec