Results 1 to 3 of 3

Thread: Change Permission on ext2 formattted drive

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    1

    Change Permission on ext2 formattted drive

    I am brand new to linux. I have a Linux PC that had a hard drive die. I have had the data recovered, but when the drive was returned to me, it was formatted with NTFS and is totally viewable through Windows, but cannot be seen by the Linux PC. I need to copy the data from the Windows formatted Drive to an ext2 formatted drive.

    I used fdisk to wipe a drive.
    I used QTparted to format the drive ext2.
    I attempted to copy files to the newly formatted ext2 drive, but it tells me I do not have permission.
    I can copy files to the desktop from the NTFS drive without a problem.
    I changed the file permissions to "Writable" and allow everyone to change content on the ext2 drive. When I view the properties of the ext2 drive, it tells me that knoppix is the owner and has change permissions.

    When I open the drive and check the properties of the window that opens (whitch only lists a "Lost$Found" directory), it tells me root is the owner and everyone else can only view contents.

    What gives? Please be gentle with responses, I have only had one AIX course abot 4 years ago and retained nothing. The only Linux command I have successfully used (or so I thought) is QTparted.

  2. #2
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205

    Re: Change Permission on ext2 formattted drive

    Quote Originally Posted by ewd97
    I am brand new to linux. I have a Linux PC that had a hard drive die. I have had the data recovered, but when the drive was returned to me, it was formatted with NTFS and is totally viewable through Windows, but cannot be seen by the Linux PC. I need to copy the data from the Windows formatted Drive to an ext2 formatted drive.

    I used fdisk to wipe a drive.
    I used QTparted to format the drive ext2.
    I attempted to copy files to the newly formatted ext2 drive, but it tells me I do not have permission.
    I can copy files to the desktop from the NTFS drive without a problem.
    I changed the file permissions to "Writable" and allow everyone to change content on the ext2 drive. When I view the properties of the ext2 drive, it tells me that knoppix is the owner and has change permissions.

    When I open the drive and check the properties of the window that opens (whitch only lists a "Lost$Found" directory), it tells me root is the owner and everyone else can only view contents.

    What gives? Please be gentle with responses, I have only had one AIX course abot 4 years ago and retained nothing. The only Linux command I have successfully used (or so I thought) is QTparted.
    First, try to remount the drive as writable (see below).
    After that I suggest that you create a directory to that drive (e.g. myfiles) and make it owned by Knoppix.
    So if your drive is mounted at /mnt/hda1 then try this from console:
    Code:
    sudo mount -o remount,rw /mnt/hda1
    sudo mkdir /mnt/hda1/myfiles
    sudo chown knoppix:knoppix /mnt/hda1/myfiles
    Then copy your files to that myfiles directory.
    (This is what I usually use when I get permission-problems with ext2-partitions. I don't know how to make whole partition writable by Knoppix so I just create a single directory which is writable by Knoppix and use that).

    If this doesn't work, then post any errors you get while trying this.

  3. #3
    Senior Member registered user
    Join Date
    Jul 2006
    Posts
    117
    I usually do most of my work as root but I think this might work to make a ext3 partition writable by anybody, including of course the user knoppix. Either do these codes in the root shell, or use sudo, as in the example below:
    Code:
    sudo mount /dev/hda1 /media/hda1
    sudo chmod 777 /media/hda1
    This will make the whole hda1 partition writable by anybody.
    I hope it works for you. Regards.

Similar Threads

  1. No write permission to USB drive
    By kenny23 in forum General Support
    Replies: 1
    Last Post: 01-21-2009, 11:13 AM
  2. [newbie-need help] error while change HDD permission file
    By pai in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-07-2006, 09:32 PM
  3. Removable drive convert from ext2 to FAT32
    By gplhl in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-05-2006, 01:35 AM
  4. HOW-TO: change terminal server from cdrom to hard drive... w
    By kevingpo in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 11-07-2005, 10:47 PM
  5. Really Strange Boot Question - Change the Knoppix drive.
    By myownlittlworld in forum General Support
    Replies: 2
    Last Post: 03-09-2005, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture

Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD

$75.00



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB

$2294.99



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB

$3299.99



Cisco UCS 5108 Blade Server Chassis Enclosure 8x B200 M4 16x E5-2640v3 128gb picture

Cisco UCS 5108 Blade Server Chassis Enclosure 8x B200 M4 16x E5-2640v3 128gb

$599.99



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



DELL POWEREDGE M620 Blade 2x Xeon E5-2670 2.5GHz 128GB 2x300GB HDD picture

DELL POWEREDGE M620 Blade 2x Xeon E5-2670 2.5GHz 128GB 2x300GB HDD

$94.50



HP ProLiant BL460c G8(Gen8) 2x 8 CORE E5-2670 2.6GHz 192GB RAM 2x 146GB SAS HDD  picture

HP ProLiant BL460c G8(Gen8) 2x 8 CORE E5-2670 2.6GHz 192GB RAM 2x 146GB SAS HDD 

$78.00



Sun Microsystems Blade 150 Workstation UltraSPARC-IIe 650MHz 256MB Server No HDD picture

Sun Microsystems Blade 150 Workstation UltraSPARC-IIe 650MHz 256MB Server No HDD

$224.97



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$349.00



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99