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
  •  


IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$65.02



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



IBM Power 710 Express Server Power7 4.2Ghz 8-Core CPU 64GB DDR3 No HDD 74Y523 picture

IBM Power 710 Express Server Power7 4.2Ghz 8-Core CPU 64GB DDR3 No HDD 74Y523

$499.99



IBM System x3550 M4 Server 2 x Intel Xeon E5-2609 36GB RAM No HDDs picture

IBM System x3550 M4 Server 2 x Intel Xeon E5-2609 36GB RAM No HDDs

$89.99



IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD) picture

IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD)

$264.92



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$99.99