LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Just a tad frustrated (https://www.linuxquestions.org/questions/linux-newbie-8/just-a-tad-frustrated-536530/)

cnybud 03-11-2007 10:14 AM

Just a tad frustrated
 
I am using SUSE 10.2 if this is relevant.

Okay I have an external USB 2.0 hard drive, with 200GB of space. It used to be a back up hard drive for my windows computer but when I ditched Windows yesterday (I hope for good) I put everything that was on the hard drive on DVD and erased the disk.

Now I want to use this harddrive as a back up source for my new machine. I tried using the partitioner in Yast, and I thought I had done things right but whenever I try to write something to the disk it says no can do , not enough permissions. WHat the heck does that mean? WHy do i need permission to access my own hard drive? None of the other folders and such are like this with the exception of lost and found and root, which I can understand.

Any help at all would be appreciated.

(By the way if it matters any at all I had bought a new Vista system with 2gb of ram, core 2 duo processor, and a 500 gb hard drive in raid, and dumped Vista for SUSE. My friends think I am nuts, but I gotta try something else, nd right now a Mac is out of my price range)

anupamsr 03-11-2007 11:02 AM

There could be a couple of possibilities:
1. Your USB 2.0 hard disk in NTFS. This may happen because most of the vendors sell pre formatted NTFS hard disks. I personally, hence, format all the harddisks in FAT32, if I am planning to use them in Windows, otherwise ext3.
2. You really don't have permissions. Have you mounted the harddisk as root and trying to write as a user or something?

Following outputs will be good (after mounting):
$ mount
$ ls -l /path/to/hard/disk

pixellany 03-11-2007 11:27 AM

Random thoughts:
If you are using CD or DVD for backup, I would always make at least 2 copies. If the data is critical, some would say also re-copy the disks at regular intervals.

If Linux is becoming your dominant OS, then format everything ext3. Windows can read this using something like ext2fsd.

Using ext3, you can set the permissions on the external USB drive just as you would on the internal(s). As already noted, you need to check to see that the drive is not getting mounted read-only.

/etc/mtab shows what is actually mounted
/etc/fstab is the instructions for mounting

cnybud 03-11-2007 11:35 AM

Thanks.

I formatted the hard drive in fat 32 and now I can read and write to it. Amazing. I do appreciate the help.

J.W. 03-11-2007 03:32 PM

Just as an FYI, note that FAT32 cannot support POSIX permissions (ie, the different permission levels to access a file, namely those granted to the user, group, and others) These permissions are visible as the familiar r (read), w (write), and x (execute) privileges for each type of user.

In brief, using FAT32 for backup purposes is OK as long as the files you are copying to it don't need to retain the specific original permissions.


All times are GMT -5. The time now is 06:53 PM.