Announcement

Collapse
No announcement yet.

[SOLVED] change partition permission?

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

    #31
    Re: change partition permission?

    i made a mistake, here's the correct one:

    adredz@adredz-desktop:/$ cat /etc/fstab && cat /etc/mtab && blkid
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda2
    UUID=63cd03bb-f4d5-41cb-9e08-d77a859e1699 / ext3 defaults,errors=remount-ro 0 1
    # /dev/sda1
    UUID=60E457AFE45785E6 /media/sda1 ntfs defaults 0 2
    # /dev/sda5
    UUID=86fd2048-4f1b-42b5-b5bf-78eacd3a346b none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0/dev/sda2 / ext3 rw,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
    varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
    varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
    udev /dev tmpfs rw,mode=0755 0 0
    devshm /dev/shm tmpfs rw 0 0
    devpts /dev/pts devpts rw,gid=5,mode=620 0 0
    lrm /lib/modules/2.6.22-14-generic/volatile tmpfs rw 0 0
    securityfs /sys/kernel/security securityfs rw 0 0
    /dev/sda1: UUID="60E457AFE45785E6" TYPE="ntfs"
    /dev/sda2: UUID="63cd03bb-f4d5-41cb-9e08-d77a859e1699" SEC_TYPE="ext2" TYPE="ext3"
    /dev/sda5: TYPE="swap" UUID="86fd2048-4f1b-42b5-b5bf-78eacd3a346b"

    Comment


      #32
      Re: change partition permission?

      Okay. Better. One last thing to look at. In the console, type:
      Code:
      ls -l /media
      Copy/paste the output.
      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


        #33
        Re: change partition permission?

        adredz@adredz-desktop:/$ ls -l /media
        total 8
        lrwxrwxrwx 1 root root 6 2008-02-21 02:20 cdrom -> cdrom0
        drwxr-xr-x 2 root root 4096 2008-02-21 02:20 cdrom0
        lrwxrwxrwx 1 root root 7 2008-02-21 02:20 floppy -> floppy0
        drwxr-xr-x 2 root root 4096 2008-02-21 02:20 floppy0

        Comment


          #34
          Re: change partition permission?

          Okay. In the console type:
          Code:
          sudo mkdir /media/sda1
          Close the console and perform a normal shutdown/restart. Report back.
          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


            #35
            Re: change partition permission?

            wow! problem solved!

            Thank you so much Snowhog! i really appreciate your help. thanks for sharing your precious time.

            adredz

            Comment


              #36
              Re: change partition permission?

              one last thing...can i change its permission so that only i as a root can access it?

              Comment


                #37
                Re: change partition permission?

                I'm very happy that you've got access to the partition.

                Root (the user with 'root' permissions) will always be able to access the partition. If you wanted access to it to be limited to only yourself and root only, then you can modify the fstab line entry to this:
                Code:
                UUID=60E457AFE45785E6 /media/sda1 ntfs owner,rw,auto 0 2
                This, according to the owner option for fstab, limits access to the partition owner (you) and root only.

                Happy to have been of assistance.
                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


                  #38
                  Re: change partition permission?

                  Thank you!

                  Comment


                    #39
                    Re: change partition permission?

                    Please verify that you can actually write to the partition. If you can't, then you will need to change the fstab entry option from ntfs to ntfs-3g
                    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


                      #40
                      Re: change partition permission?

                      yes I can...

                      Comment

                      Working...
                      X