kanotix.com

Hardware - How come I can't edit my Hard Drive?

SentralOrigin - 07.11.2006, 14:05 Uhr
Titel: How come I can't edit my Hard Drive?
I have an external USB hard drive and I am trying to delete files from it, but it says access denied. I tried using Konsole to log in as root and doing "rm filename" but it says it's read only and cannot be deleted. How can I log in as root from the Konquerer?
SentralOrigin - 07.11.2006, 14:24 Uhr
Titel:
I even tried using Konsole to log in as root and loaded Konquerer from there but I still can't delete or add files to the external hard drive. I think root permission is not enough. How can I get more permission?
piper - 07.11.2006, 14:55 Uhr
Titel:
This mght help

chmod 400 file To protect a file against accidental overwriting.

chmod 500 directory To protect yourself from accidentally removing, renaming or moving files from this directory.

chmod 600 file A private file only changeable by the user who entered this command.

chmod 644 file A publicly readable file that can only be changed by the issuing user.

chmod 660 file Users belonging to your group can change this files, others don't have any access to it at all.

chmod 700 file Protects a file against any access from other users, while the issuing user still has full access.

chmod 755 directory For files that should be readable and executable by others, but only changeable by the issuing user.

chmod 775 file Standard file sharing mode for a group.

chmod 777 file Everybody can do everything to this file.


http://www.tldp.org/LDP/intro-linux/...ect_03_04.html

http://www.gnu.org/software/coreutils/m ... ls_13.html
hubi - 07.11.2006, 14:57 Uhr
Titel:
We would need:
1. Filesystem
2. The output of:
Code:
ls -ali /media

hubi
SentralOrigin - 07.11.2006, 14:59 Uhr
Titel:
Okay I have figured out a solution with the help from other people.

The hard drive was in NTFS format because it was origjnally from Windows to transfer over files to my *nix box.
I had to reformat it into FAT32 so that it could safely be universally transferrable files.
The downside was all the files in the hard drive were deleted, but that wasn't the issue with me.
I just had to format it differently
piper - 07.11.2006, 15:06 Uhr
Titel:
Well I would have backed everything up (instead of losing files) and took a chance with ntfs-3g

Code:
apt-get update > apt-get install ntfs-3g


Code:
umount /dev/xdxx /media/xdxx ; mount -o silent,umask=0,no_def_opts,allow_other -t ntfs-3g /dev/xdxx /media/xdxx

Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007