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 R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU picture

Intel Xeon E5-2680 v4 SR1N7 2.4GHz 14-Core 3.5MB 35MB Socket 2011-3 Server CPU

$11.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56