Glad you got the immediate problem resolved. I just want to clarify my
previous post. The permissions do not seem to be the issue. It appears
that the default device setting for removeable media is read-only and
has to be manually set for read/write. It's sort of a software version
of the write-protect tab on floppies (or maybe the linux version of the
read-only checkbox in the NTFS file system). The file system may know
you have permission to write to the directory but it cannot write to it
until the device is "unlocked". So there are two separate
restrictions: device read/write and file read/write. Both have to be
set to be able to write to a device.
Cheers,
Mike Goggin
Bob Ackerman wrote:
I had checked the device and mount point for proper permissions. I could read
the device but I could not write to it, even after su for root. Permissions
were all set to 0777 or 0666 as needed but I was unable to write any data. I
suspected the problem may be in the /etc/fstab file but I never got that
resolved. We finally removed the hard disk, mounted in my PC, copied the files,
reinstalled the hard disk back into the PC then format C: and reinstalled the
OS. I would have been nice to get Knoppix to work but unfortuately my friend
doesn't believe Linux is ready.
Thanks for the help.
Bob Ackerman
-----Original Message-----
From: Michael Goggin <[EMAIL PROTECTED]>
Sent: Nov 15, 2004 11:56 AM
To: [EMAIL PROTECTED]
Subject: [fsck] Re: Knoppix Problem
Right-clicking on the usb device icon [Hard Disk Partition (sda1)] and
choosing Actions -> Change read/write mode worked for me. I had
previously su'ed in a terminal and changed the root password. I don't
think that was necessary but I include it just in case it was.
--Mike Goggin
Bob Ackerman wrote:
I did drop down to the shell prompt and type 'su' to get to root. I
checked permissions at that level and they were fine yet I was unable
to copy to the USB device, nor could create a directory. I did not try
to use a floppy because most of my files were at least 2MB in size and
would not fit.
There must be some little command or option I am missing.
Bob Ackerman
Justin West wrote:
Ya, I think I got this issue resolved by just logging in as root
(su), then writing to the drive was no problem for me. May not be
good practice, but it worked.
Benjamin Story wrote:
rootme ?
Bob Ackerman wrote:
I friend asked me to help recover some files from his crashed and
non-startable Windows 98 system (and no, I haven't talked him into
Linux, yet). I am using Knoppix 3.3 and I get the system started
and here is my problem. I need to write to an USB attached device,
either a flash drive or a USB HDD (I have both). Each device mounts
properly (/mnt/sda1 and /mnt/sda2) and I can see all contents of
each device. What I need to do is to be able to write to these
drives. Now the permissions appear to be set properly and I checked
the /etc/mtab file and the USB is referenced as follows (I suspect
is default Knoppix):
usb /proc/bus/usb usbdevfs rw,devmode 0666 0 0
Does anybody have some suggestions? This is the first time I used
Knoppix to recover files from a crashed system and I am looking for
some success here.
Thanks,
Bob Ackerman
-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------
-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------
-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------
-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------
--
----------------------------------------------------------------
Dr. Michael E. Goggin
Associate Professor of Physics
Division of Science, Truman State University
Kirksville, MO 63501
Phone:(660)785-4410 FAX:(660)785-7604
E-mail: [EMAIL PROTECTED]
"Knowledge is good." -- Emil Faber
-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------