-
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.
-
Senior Member
registered user
Re: Change Permission on ext2 formattted drive
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.
-
Senior Member
registered user
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
-
By kenny23 in forum General Support
Replies: 1
Last Post: 01-21-2009, 11:13 AM
-
By pai in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-07-2006, 09:32 PM
-
By gplhl in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 03-05-2006, 01:35 AM
-
By kevingpo in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 11-07-2005, 10:47 PM
-
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
-
Forum Rules
Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro
$249.00
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$429.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$339.95
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
Dell OptiPlex 7060 Micro 8-Core i7 8700 3.20GHz 16GB 512GB SSD Win 11 Pro
$214.00
Intel Core i5-6500T SR2L8 2.50GHz Desktop Processor Socket 1151 Quad Core CPU
$22.99
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$129.49
Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS
$199.99