No access to files

Using PhotoRec to recover lost data
Post Reply
Message
Author
mymusic
Posts: 4
Joined: 24 Nov 2013, 04:48

No access to files

#1 Post by mymusic » 24 Nov 2013, 05:37

Thank-you very much for Testdisk supurb piece of work , I managed to recover everything off a USB Stick , Mostly my Jimmy Barnes rarities cd's , But now I cannot delete the other music that I don't need copies of . Access has being denied , the files on the USB are from my previous machine and I am now running Ubuntu 13.04 on a new machine with different login paswords etc etc . How can I ever get access to the other files ( I already found else-where ) to delete them as I don't need two copies of Faskil's Albums or any other album ,. Please can some-one please help me unlock these duplicate files ? ,I would like to delete the xtra files but not sure how to unlock them
Attachments
this is problem.png
this is problem.png (109.83 KiB) Viewed 1147 times

Sponsored links

theancientone
Posts: 10
Joined: 14 Nov 2013, 10:24

Re: No access to files

#2 Post by theancientone » 24 Nov 2013, 16:29

Did you try some commands?

For example:

Code: Select all

sudo chmod 777 /location/to/files/music.mp3
Or in case of a folder / directory:

Code: Select all

sudo chmod -R 777 /location/to/files/music.mp3
"The future is predeterment by the character of those who shape it".

mymusic
Posts: 4
Joined: 24 Nov 2013, 04:48

Re: No access to files

#3 Post by mymusic » 25 Nov 2013, 01:40

Thanks for replying so quickly I did do some commands and got the files back into my system ,that was good , now those files are in the home folder and still will not move , copy ,cut , rubbish bin or delete to any where because " it " says I am not the owner ,ok I can handle that the files were from my other machine that has totally expired ,ok ,Do you know of a way to change ownership in terminal of those old files ? Or is it a dead end ? Please excuse the puns but I do have stop me ripping out my hair . Also most of the recovery was done just on the pre sets setting on the programe menu , nothing fancy or silly added to Testdisk just ran with it the way it was , is , I still think it's a great program and the problems I'm having is more from me , than Testdisk ,it did fine ,just so frustrating to find some hard to get rare music and not be able to access it , OK OK I should stop typing and let someone answer , Do you know of a way to change ownership in terminal of those old files ? Thanks in advance to anyone who has an answer .

theancientone
Posts: 10
Joined: 14 Nov 2013, 10:24

Re: No access to files

#4 Post by theancientone » 25 Nov 2013, 11:25

If I'm not mistaken then you could try this:

Code: Select all

sudo chown -R <current_username> /location/to/where/directory/is/
If you want or need to know more about the chown command then you can use:

Code: Select all

man chown
Press q on the keyboard to quit and exit the manual.
"The future is predeterment by the character of those who shape it".

mymusic
Posts: 4
Joined: 24 Nov 2013, 04:48

Re: No access to files

#5 Post by mymusic » 25 Nov 2013, 13:01

OK will give that lot of commands a try and let yuo know how it goes ,thanks for the advice hope it goes good

mymusic
Posts: 4
Joined: 24 Nov 2013, 04:48

Re: No access to files # SOLVED

#6 Post by mymusic » 25 Nov 2013, 13:43

Alrighty this is fixed , solved and answered , and a big Thank you to "theancientone " and so that's where I go to change ownership , very smart , it is all the commands I will need to fix this ,they come up , just have to work out all that " man chown " just have to put in the correctly , learning new computing stuff at my age heh , sadly it will not be in the next day or two , medical reason's it will get done that's for sure ,, Thank you and all the best .

theancientone
Posts: 10
Joined: 14 Nov 2013, 10:24

Re: No access to files

#7 Post by theancientone » 25 Nov 2013, 13:48

If you want to learn then you can use the man command. The command man stands for manual so not only chown much more commands have this manual.
"The future is predeterment by the character of those who shape it".

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest