Announcement

Collapse
No announcement yet.

Permissions Help

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

    Permissions Help

    I mounted two hard drives into kubuntu. One was an external USB Hard Drive and the other was an internal partition. Both are FAT32 file systems.

    I can read from these, but I cant write to them.

    I tried using chmod on them

    ex:

    chmod u+w .

    after I moved to the directory, but it didnt work.

    How do I allow myself to write to these folders/mounts?

    thanks

    #2
    Re: Permissions Help

    heres a detailed look:

    They are mounted in the media folder:

    drwxr-xr-x 5 root root 4096 2006-02-04 09:51 media

    Inside the media folder are the hda5 and IOMEGA_HDD mounts for the hard drives.

    lrwxrwxrwx 1 root root 6 2006-01-26 17:11 cdrom -> cdrom0
    drwxr-xr-x 2 root root 4096 2006-01-26 17:11 cdrom0
    drwxr-xr-x 3 root root 8192 1969-12-31 17:00 hda5
    drwxr-xr-x 26 root root 32768 1969-12-31 17:00 IOMEGA_HDD

    Comment


      #3
      Re: Permissions Help

      ravi@ravi:/media$ ls
      cdrom cdrom0 hda5 IOMEGA_HDD
      ravi@ravi:/media$ chmod u+w /hda5
      chmod: changing permissions of `/hda5': Operation not permitted
      ravi@ravi:/media$ ls
      cdrom cdrom0 hda5 IOMEGA_HDD
      ravi@ravi:/media$ chmod g+w /hda5
      chmod: changing permissions of `/hda5': Operation not permitted
      ravi@ravi:/media$ ls
      cdrom cdrom0 hda5 IOMEGA_HDD
      ravi@ravi:/media$ ls -l
      total 44
      lrwxrwxrwx 1 root root 6 2006-01-26 17:11 cdrom -> cdrom0
      drwxr-xr-x 2 root root 4096 2006-01-26 17:11 cdrom0
      drwxr-xr-x 3 root root 8192 1969-12-31 17:00 hda5
      drwxr-xr-x 26 root root 32768 1969-12-31 17:00 IOMEGA_HDD
      ravi@ravi:/media$

      Comment


        #4
        Re: Permissions Help

        You can't chmod stuff on FAT partitions--FAT doesn't support permissions.
        It's all in how it's mounted. What does you /etc/fstab look like?
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: Permissions Help

          Originally posted by aysiu
          You can't chmod stuff on FAT partitions--FAT doesn't support permissions.
          It's all in how it's mounted. What does you /etc/fstab look like?
          how do I find this?

          Comment


            #6
            Re: Permissions Help

            Open up a Konsole (Alt-F2 and konsole) and then type
            Code:
            cat /etc/fstab
            and copy and paste in this thread whatever comes out.
            Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

            Comment


              #7
              Re: Permissions Help

              ravi@ravi:~$ cat /etc/fstab
              # /etc/fstab: static file system information.
              #
              # <file system> <mount point> <type> <options> <dump> <pass>
              proc /proc proc defaults 0 0
              /dev/hda6 / ext3 defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid,nouser 0 1
              /dev/hda7 none swap sw 0 0
              /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
              /dev/sda1 /media/IOMEGA_HDD vfat ,uid=0,gid=0,auto,rw,nouser 0 0
              /dev/hda5 /media/hda5 vfat ,uid=0,gid=0,auto,rw,nouser 1 0
              ravi@ravi:~$

              Comment


                #8
                Re: Permissions Help

                Do this:
                Code:
                sudo umount /media/IOMEGA_HDD
                sudo umount /media/hda5
                sudo cp /etc/fstab /etc/fstab_backup
                sudo kwrite /etc/fstab
                Paste the following over your entire current fstab--that is, what I'm about to put below should be the only stuff in your /etc/fstab file:
                Code:
                # /etc/fstab: static file system information.
                #
                # <file system> <mount point>  <type> <options>    <dump> <pass>
                proc /proc proc defaults 0 0
                /dev/hda6 / ext3 defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid,nouser 0 1
                /dev/hda7 none swap sw 0 0
                /dev/hdc    /media/cdrom0  udf,iso9660 user,noauto   0    0
                /dev/sda1 /media/IOMEGA_HDD vfat iocharset=utf8,umask=000 0 0
                /dev/hda5 /media/hda5 vfat iocharset=utf8,umask=000 0 0
                Save the file and quite KWrite. Then, finally,
                Code:
                sudo mount -a
                Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

                Comment


                  #9
                  Re: Permissions Help

                  thanks, it worked!

                  is there some link where i can read about this type of stuff?

                  Comment


                    #10
                    Re: Permissions Help

                    More stuff:

                    Unofficial Ubuntu 5.10 (Breezy Badger) Starter Guide:
                    http://easylinux.info/wiki/Ubuntu

                    Tuxfiles (linuxhelp):
                    http://www.tuxfiles.org/linuxhelp/

                    KUDOS Unofficial Kubuntu FAQ:
                    http://kudos.berlios.de/kf/kf1.html
                    Before you edit, BACKUP !

                    Why there are dead links ?
                    1. Thread: Please explain how to access old kubuntu forum posts
                    2. Thread: Lost Information

                    Comment

                    Working...
                    X