Cobra Forum

Linux => General Help => Topic started by: mahesh on Oct 11, 2023, 02:41 AM

Title: Thumb drive permission changes and moving files
Post by: mahesh on Oct 11, 2023, 02:41 AM
I have used this command for a couple of years.
    Code:
  cd Downloads; for f in *.mp3 ;do mv "$f" /media/daryl/"Clip Sport"/PodcastsSuddenly now my permissions have changed, probably because I never bother to "eject" before removing drive from USB port.
     Code:
mv: failed to access '/media/daryl/Clip Sport/Podcasts': Permission denied
[1]+  Exit 1                  rm "$f"
mv: failed to access '/media/daryl/Clip Sport/Podcasts': Permission denied
I am aware that I can fix this problem by reformatting the drive. My question is...I can not move the files by using the above command, but, I CAN move the files be using drag n drop. Why is this?
Also, I changed my permissions using "$ sudo nautilus" but I still have the problem. Why?