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
  •  


Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor picture

Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor

$46.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.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 - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5) Boxed -... picture

AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5) Boxed -...

$340.00



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



Intel Xeon Gold 6238 2.1GHz 30.25MB 22-Core LGA 3647 CPU / Processor ___ SRFPL picture

Intel Xeon Gold 6238 2.1GHz 30.25MB 22-Core LGA 3647 CPU / Processor ___ SRFPL

$379.99



(Lot of 28) Intel Core i5-8500 3.00GHz SR3XE Processor Socket 1151 CPU 8th Gen picture

(Lot of 28) Intel Core i5-8500 3.00GHz SR3XE Processor Socket 1151 CPU 8th Gen

$1399.99