|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Hardware Support Do you have any problems with installing new hardware under SuSE Linux? Post your question in here... |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have three HDD's in my system. the first drive is partitioned into the / and /home. The other two are on their own, kinda for my own use, films, music, work, backups of work from /home and email backups.
I must have done something something wrong during the installation because I can't access my second drive at all. When I checked, using Konq, I saw that the the owner of the first drive (the partitioned one) and the third drive (my multimedia one) was silkmaze, that's me. However the owner of the second drive, the one I want to use for other stuff, is root. How can I change the ownership of the drive from root to silkmaze, thus allowing me to use the drive as I want to? Thank you. |
|
|||
|
what file system does the drive use ? fat32/ntfs/ext/reiser/xfs ? bit more detail might help in soliciting an answer
Andy |
|
|||
|
And tell us how you determine 'ownership' of a drive, or what you mean by 'ownership of a drive'. IMHO UIDs do not own drives. They own files/directories.
Drives are partitioned. And the partitions may be mounted somewhere on a directory (owned by UID) and then directories/files (with owners like every other file/directory) will be found (or can be created) downwards from the mountpoint in the directory tree. |
|
|||
|
The drive in question is has ext3 FS. As for the ownership, here is what I see in Konqueror:
[attachmentid=2419] As you can see, the owner of drive IntHD2 is root. |
|
|||
|
Sorry, I may be a bit stupid asking this. I now see how you got the information, that means I see it partialy, but I cannot see how you got Konqueror to display this. because that part of the picture (the location bar) is missing and I never use a GUI for this type of system management. So now I have Konqi telling something, but I do not know where konqi got its information (like earlier did not understand where you got it from).
We will try something different. There is a difference between the two mounts so we have to compare things about the mounts to see where the difference is. In a terminal, as root do a ls -dl of both mountpoints like: ls -ld /mount/point/disk1 ls -ld /mount/point/disk2 and see who are the owners/groups of those. When one of them is root root and the other silkmaze root then do: chmod silkmaze:users /mount/point/diskx and see if this helps. |
|
|||
|
Quote:
I did take a snapshot of the fstab, if that helps. [attachmentid=2422] It is drive IntHD2 that I want to get access to. I am having no problems with IntHD3, which is the third internal drive. |
|
|||
|
It seems that sometimes we are talking different languages
![]() 1. As you wrote about using the extra 'drives' for your personal (that means user sikmaze) data I supposed that they are mounted somewhere inside your home directory (/home/silkmaze) on something like /home/silkmaze/music or wherever silkmaze wanted this diskspace. That is not a 'must' (after all you can mount where you want) but it seemed logical. I stated it more general as /mount/point/... . I supposed that you would know where you mounted those things. After all you did it yourself (or did you inherrent the system from somebody else?). 2. Now, as you start providing real data (by posting your /etc/fstab) we can assess the real situation. (BTW is is not that difficult to copy and past data like /etc/fstab directly in a post, that makes it easier for me to copy from it, now I have to type a lot )We have three disks (or drives, or HDDs), I did not retype the full names but only the first few characters of each because that already makes them unique in this case: ST35, SAMSUNG and WDC. Eacht of them is partitioned (of course) and we do see the following partitions (there may be more, but that can not be seen here): ST35 has part5 SAMSUNG has part1 and part5 WDC has part1 and part5 I do not know why these somewhat strange partitioning, but as said we do not have the full partition picture here. What is the usage of these partitions? SAMSUNG-part1 is mounted as / (the root file system) SAMSUNG-part5 is mounted as /home WDC-part1 is used for SWAP WDC-part5 is mounted as /IntHD3 ST35-part-part5 is mounted as /IntHD2 You stated in your first post: Quote:
Now back to the ls -ld statments. They shoud of course be: ls -ld /IntHD2 ls -ld /IntHD3 I repeat that it was your decission to mount these partitions directly in / and not somewhere else (like /home/silkmaze), and you gave those directories the names IntHD2 and IntHD3 Which IMHO tells more about their physical existance then about there logical usage (apart from being hard to type). (It reminds me a bit of primitive OS's like MS-DOS where you could only have disks on the upper level more or less outside the directory tree and you could only give them useless names like A, B, C ,etc.) |
|
|||
|
Gotcha. Here is what I get with
ls -ld /IntHD2 ls -ld /IntHD3 [attachmentid=2424] You're right I did forget about the swap partition. The first drive has been partitioned into : <blockquote>/ 20GB /home 378GB</blockquote> The second drive - IntHD2 has not been partitioned at all. It is a new drive That I wanted to store stuff in. This is the drive that I cannot access. The third drive - IntHD3 has been partitioned into : <blockquote>/MyStuff 144GB /swap 4GB (twice the size of my RAM)</blockquote> |
|
|||
|
Quote:
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|