Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




85 posts

Master Geek


Topic # 79938 24-Mar-2011 09:29
Send private message

I have been trying to use Photorec, to recover some images off my Digital Camera, without much success. 

What i have managed to recover are a whole host of files(i had to cancel the process before all 70,000 files landed on my desktop)  ; dir.15/f0845058.gif ,recup_dir.15/f0845036.txt,recup_dir.2/f0289280_MSLS31.DLL recup_dir.1/f0272496.png they all seem like temporary browser files.

The problem is i cant not now move or delete them as permission is denied.

I have only one log on and that is administrator.

Any help would be much appreciated.


Create new topic
1888 posts

Uber Geek
+1 received by user: 634

Trusted

  Reply # 451336 24-Mar-2011 09:34
Send private message

Basher:

Probably need some more detail than that if you want a hand :)




It looks like I'm using an adblocker. I should consider whitelisting Geekzone in my adblocker or a subscription. The Quick Reply box will appear for me when Geekzone is whitelisted. Hooray for me! If I want to reply to this topic I should click on Compose Reply.


19282 posts

Uber Geek
+1 received by user: 2600
Inactive user


  Reply # 451337 24-Mar-2011 09:37
Send private message

chmod 777 (filename) ???

 
 
 
 




85 posts

Master Geek


  Reply # 451346 24-Mar-2011 10:10
Send private message

chmod 777 "my file" comes up with cannot access file/ no such directory.

384 posts

Ultimate Geek
+1 received by user: 2


  Reply # 451361 24-Mar-2011 10:39
Send private message

chown




Support a locally made Linux based Operating System, try Linux Lite.
Download Linux Lite



85 posts

Master Geek


  Reply # 451370 24-Mar-2011 10:58
Send private message

Just tried the Chown command - Cannot access No such file or directory ;(

384 posts

Ultimate Geek
+1 received by user: 2


  Reply # 451375 24-Mar-2011 11:06
Send private message

Whats the full chown command you are putting in? Whats the directory structure?




Support a locally made Linux based Operating System, try Linux Lite.
Download Linux Lite



85 posts

Master Geek


  Reply # 451381 24-Mar-2011 11:20
Send private message

I have tried;
chown 777 /recup_dir.6
chown 777 /desktop/recup_dir.6
chown 777 recup_dir.6
chown 777 desktop/recup_dir.6

Have also just tried copy and pasting from shortcut.

recup_dir.6 is one of the folder names on the desktop holding all the unwanted files.

384 posts

Ultimate Geek
+1 received by user: 2


  Reply # 451384 24-Mar-2011 11:28
Send private message

The chown command is used to change the owner of the directory, chmod is used to change permissions. You will need to read up on using those 2 commands in linux. I'm hesitant to give instructions here as it is your data and don't want to be responsible for any stuff ups :) It will also be a good learning exercise for you. Once you take ownership of the folders you can move, copy delete rename etc etc. http://ss64.com/bash/ is useful.




Support a locally made Linux based Operating System, try Linux Lite.
Download Linux Lite



85 posts

Master Geek


  Reply # 451386 24-Mar-2011 11:30
Send private message

cheers, will look into it;)



85 posts

Master Geek


  Reply # 451550 24-Mar-2011 18:32
Send private message

Well managed to a bit today, trying to resolve my problem.

 Still cant understand why the chown sudo etc will not recognise the files i want to get rid of by  changing the ownership of the files/directories.

All the information i have read points me to the same place and it never works, just wandering if i need to use root commands with SU to do it?

I have learnt a bit today.  No luck so far. 

384 posts

Ultimate Geek
+1 received by user: 2


  Reply # 451552 24-Mar-2011 18:39
Send private message

Try a gui like Gnome Commander if you're having trouble with the command line.




Support a locally made Linux based Operating System, try Linux Lite.
Download Linux Lite



85 posts

Master Geek


  Reply # 451567 24-Mar-2011 19:34
Send private message

Right, thanks for that i can see now that all the deleted files ive recovered are owned by ROOT, so ill need to find out what my password is for the SU command, i do not remember setting one though.

Ah well makes a bit more sense, will have to have another look at it tomorrow.

Thanks for all your help



85 posts

Master Geek


  Reply # 451575 24-Mar-2011 19:48
Send private message

Ah i see i do not  need root command i should be able to do it with sudo.



85 posts

Master Geek


Reply # 451617 24-Mar-2011 22:45
Send private message

Fixed it.

With code

sudo chown user:user /home/user/Desktop/file.

this gave me permission to do move and delete files, then deleted with gnome commander.

Learnt a lot along the way too.

Thanks for your help guys;)

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand hits peak broadband data
Posted 18-Jan-2018 12:21


Amazon Echo devices coming to New Zealand early February 2018
Posted 18-Jan-2018 10:53


$3.74 million for new electric vehicles in New Zealand
Posted 17-Jan-2018 11:27


Nova 2i: Value, not excitement from Huawei
Posted 17-Jan-2018 09:02


Less news in Facebook News Feed revamp
Posted 15-Jan-2018 13:15


Australian Government contract awarded to Datacom Connect
Posted 11-Jan-2018 08:37


Why New Zealand needs a chief technology officer
Posted 6-Jan-2018 13:59


Amazon release Silk Browser and Firefox for Fire TV
Posted 21-Dec-2017 13:42


New Chief Technology Officer role created
Posted 19-Dec-2017 22:18


All I want for Christmas is a new EV
Posted 19-Dec-2017 19:54


How clever is this: AI will create 2.3 million jobs by 2020
Posted 19-Dec-2017 19:52


NOW to deploy SD-WAN to regional councils
Posted 19-Dec-2017 19:46


Mobile market competition issues ComCom should watch
Posted 18-Dec-2017 10:52


New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.