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.


Basher

85 posts

Master Geek


#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
muppet
2570 posts

Uber Geek

Trusted

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

Basher:

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




Audiophiles are such twits! They buy such pointless stuff: Gold plated cables, $2000 power cords. Idiots.

 

OOOHHHH HYPERFIBRE!




johnr
19282 posts

Uber Geek
Inactive user


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

chmod 777 (filename) ???

Basher

85 posts

Master Geek


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

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



valtam
396 posts

Ultimate Geek


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

chown




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

Basher

85 posts

Master Geek


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

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

valtam
396 posts

Ultimate Geek


  #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

Basher

85 posts

Master Geek


  #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.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
valtam
396 posts

Ultimate Geek


  #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

Basher

85 posts

Master Geek


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

cheers, will look into it;)

Basher

85 posts

Master Geek


  #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. 

valtam
396 posts

Ultimate Geek


  #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

Basher

85 posts

Master Geek


  #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

Basher

85 posts

Master Geek


  #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.

Basher

85 posts

Master Geek


#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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.