Announcement

Collapse
No announcement yet.

read/write permissions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Re: read/write permissions

    Yes, I think you need to edit the fstab line that shows "/media/linux/hdb1" and change it to "/media/hdb1".

    That may be all it takes to fix it. You can check your /media directory and make sure there is a "hdb1" file/folder in it -- if so, you should be good to go.

    Comment


      #32
      Re: read/write permissions

      i tried that it said.
      mount: mount point /media/hdb1 does not exist
      mount: mount point 0 does not exist

      i went back and looked under the /etc/fstab and i have the folders showing /media/linux/hdb1 so im guessing the directory is there.

      i am wondering it always comes back with
      mount: mount point 0 does not exist
      could it be something to do with a zero some place?

      Comment


        #33
        Re: read/write permissions

        Ahh -- I don't think you looked in the right place.

        Either with Konqueror, or in the console, get to the /media directory, and check and see if there is a file "hdb1" located there -- apparently there is not.

        In the Konsole window, I navigate "up" the filesystem by doing
        Code:
        cd ..
        which takes you to
        Code:
        /home $
        , and then
        Code:
        cd ..
        again, and then
        Code:
        cd media
        and then you can see what's in there by doing
        Code:
        ls
        The gurus know faster ways, but that's how I do it.

        If there's no "hdb1" in your /media directory, then you're going to have to make it. So, while at the command prompt do
        Code:
        sudo mkdir /media/hdb1
        and it will be created. Then try a re-boot and see if it is fixed.

        Comment


          #34
          Re: read/write permissions

          Originally posted by dibl
          Ahh -- I don't think you looked in the right place.

          Either with Konqueror, or in the console, get to the /media directory, and check and see if there is a file "hdb1" located there -- apparently there is not.

          In the Konsole window, I navigate "up" the filesystem by doing
          Code:
          cd ..
          which takes you to
          Code:
          /home $
          , and then
          Code:
          cd ..
          again, and then
          Code:
          cd media
          and then you can see what's in there by doing
          Code:
          ls
          The gurus know faster ways, but that's how I do it.

          If there's no "hdb1" in your /media directory, then you're going to have to make it. So, while at the command prompt do
          Code:
          sudo mkdir /media/hdb1
          and it will be created. Then try a re-boot and see if it is fixed.

          ok i followed what you said but i think imissed something as it seemed to just go to the next line. when i go to the bottom it said i can not create a directory '/media/hdb1' : file exist. here is a copy of what i did.


          defiance@The-Obedient-Computer:~$ cd
          defiance@The-Obedient-Computer:~$ /home $
          bash: /home: is a directory
          defiance@The-Obedient-Computer:~$ cd
          defiance@The-Obedient-Computer:~$ cd media
          bash: cd: media: No such file or directory
          defiance@The-Obedient-Computer:~$ ls
          Desktop Sim City 2000 Stronghold
          defiance@The-Obedient-Computer:~$ sudo mkdir /media/hdb1
          mkdir: cannot create directory `/media/hdb1': File exists


          Comment


            #35
            Re: read/write permissions

            I'm embarrased to have to admit that I didn't catch this obvious problem! :P But, I'm sure you absolutely correct. Once the correction to fstab is made, and the mount point is created in /media, all should be fine.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #36
              Re: read/write permissions

              then i may need some more in detail instructions because after doing that last one and rebooting the hdb1 is now on its own but still not able to do anything with it.

              Comment


                #37
                Re: read/write permissions

                Originally posted by ponygirldefiance

                defiance@The-Obedient-Computer:~$ cd
                Aha -- OK, we're getting down to some of the "fine points" of the bash shell, I fear.

                I said "cd .." -- those two very important dots after the space mean "go up one level".

                defiance@The-Obedient-Computer:~$ cd media
                bash: cd: media: No such file or directory
                And on this one, leaving "media" without its preceding "/" will only work from the root location, i.e. from the "/ $" prompt. Otherwise, from somewhere like "/home $" which is where I think you might have been, you would have to make it "cd /media" to get to where you wanted to be.


                mkdir: cannot create directory `/media/hdb1': File exists
                And this just says "dibl guessed wrong again"!

                So, you already have the mount point. I don't understand why it won't mount if you changed /etc/fstab to reflect /media/hdb1 as the mount point for /dev/hdb1.

                Hmmmmmmmmmmmmmm.

                Did you change that line in /etc/fstab to read as follows:

                Code:
                /dev/hdb1 /media/hdb1 ext3 users,defaults,atime,auto,rw,dev,exec,suid 0 2
                ?

                If so, I'm running real short of new ideas for you :P

                Comment


                  #38
                  Re: read/write permissions

                  let me just see if its my wording. the hdb1 i was shown as being mounted under /meida/linux/hdb1 and when we changed it over to /media/hdb1 it was mounted there as well. its just when i open it it shows a locked folder and i can not add or change any of the settings for this hdb1

                  is this different then what we have been trying to do? i just rebooted and going back to try your last suggestion again to see if it works when i do it correctly.

                  Comment


                    #39
                    Re: read/write permissions

                    ok i went back and i believe i did it right this time but still the only thing that changed was i now have a folder /media/hdb1 that stands on its own.

                    here is a copy of my konsole.

                    defiance@The-Obedient-Computer:~$ cd ..
                    defiance@The-Obedient-Computer:/home$ cd ..
                    defiance@The-Obedient-Computer:/$ cd /media
                    defiance@The-Obedient-Computer:/media$ ls
                    cdrom cdrom0 cdrom1 floppy floppy0 hdb1 linux


                    yes i did change that line in the /etc/fstab

                    don't be saying that. think positive that you have the solution you just have not choosen the right one to solve the problem is all

                    Comment


                      #40
                      Re: read/write permissions

                      Originally posted by ponygirldefiance
                      ok i went back and i believe i did it right this time
                      You sure did!



                      don't be saying that. think positive


                      Spoken like one who names the computer "Obedient".



                      I would name mine "Recalcitrant Parts-Pile"!



                      Errr, I don't get why your drive won't mount. Would you open the console and enter
                      Code:
                      blkid
                      just to humor me? Then, leaving that open, open your /etc/fstab file with kate and do a side-by-side comparison. That's how I work out inconsistencies between what the computer "thinks" it has and what /etc/fstab "says" it has. I use the UUID's in my fstab mount lines, and I know others don't like 'em and don't use 'em, but ....

                      :P

                      Comment


                        #41
                        Re: read/write permissions

                        lol if we think positive it's got to turn out good at some point right?

                        ok i did that and i noticed some things were different but not sure if that matters or not. it is after the UUID number things are different should i do anything to them or leave them the way they are?

                        konsole

                        defiance@The-Obedient-Computer:~$ blkid
                        /dev/hdb1: UUID="0c23b29d-0066-435d-acba-e1415e4b6613" SEC_TYPE="ext2" TYPE="ext3"
                        /dev/hdb2: UUID="7a53958d-c207-4d56-a61e-2f6c77265727" TYPE="swap"
                        /dev/hdb3: UUID="250310b7-54e1-4ea8-82dc-7a0e8e5e39a4" SEC_TYPE="ext2" TYPE="ext3"


                        /etc/fstab


                        # /etc/fstab: static file system information.
                        #
                        # <file system> <mount point> <type> <options> <dump> <pass>
                        proc /proc proc defaults 0 0
                        /dev/hdb3 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
                        # UUID=250310b7-54e1-4ea8-82dc-7a0e8e5e39a4 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
                        /dev/hdb1 /media/hdb1 ext3 users,defaults,atime,auto,rw,dev,exec,suid 0 2
                        # UUID=0c23b29d-0066-435d-acba-e1415e4b6613 /media/hdb1 ext3 users,defaults,atime,auto,rw,dev,exec,suid 0 2
                        /dev/hdb2 none swap sw 0 0
                        # UUID=7a53958d-c207-4d56-a61e-2f6c77265727 none swap sw 0 0
                        /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
                        /dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
                        /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0

                        Comment


                          #42
                          Re: read/write permissions

                          Wow, it looks ALMOST perfect!

                          Try changing "users" to "user" in the /etc/fstab line for /dev/hdb1 and reboot it.

                          I'm going for my martini now ....

                          Comment


                            #43
                            Re: read/write permissions

                            lol i think before its over i might have a few martini's myself
                            ok i did that. and still the same thing.

                            now it is showing that it is mounted but it is still located in the /media/hdb1 i know we were trying to move it to /media/hdb1 in the root section how ever we did move it from /media/linux/hdb1 to /media/hdb1 both of these places are under media.

                            Comment


                              #44
                              Re: read/write permissions

                              Originally posted by ponygirldefiance

                              now it is showing that it is mounted but it is still located in the /media/hdb1
                              Well, is this progress? If it is mounted, what is the remaining problem -- your ability to read and write data on it?

                              The default permissions are that root owns the drives and partitions, but the user can use them. I guess if you're the owner/operator of that computer, you could change the ownership of that partition to yourself (and your group), and see if that makes a difference.
                              Code:
                              kdesu konqueror
                              and browse to that partition, right-click it, open the "Properties>Permissions" tab, and change the read/write/modify permission to yourself and your group. Put an "x" in the "applies to sub-directories" box, "apply" it, and close Konqueror, then open it as a user and see what you can do.

                              Comment


                                #45
                                Re: read/write permissions

                                See thinking positive does help. lol

                                it worked thank you for all of your time and Patience with me on this.

                                Comment

                                Working...
                                X