Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Storage partition, PERMISSIONS

  1. #11
    Join Date
    Oct 2006
    Beans
    73
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Storage partition, PERMISSIONS

    Quote Originally Posted by taurus View Post
    Post the outputs of these commands from a terminal.

    Code:
    sudo fdisk -l
    cat /etc/fstab
    ls -la /media
    df -h
    Actually, the folders must hvae been there when you told me to change permissions around because I just logged out, then in, new folder permissions stayed the same, then restarted, and the folders stayed the same. My error, sorry.

    But, just for more clarity:

    sudo fdisk -l
    Code:
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x2cd6e240
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1         131     1052226   82  Linux swap / Solaris
    /dev/sda2   *         132        3567    27599670   83  Linux
    /dev/sda3            3568        7003    27599670   83  Linux
    /dev/sda4            7004        9729    21896595   83  Linux
    cat /etc/fstab
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sda2
    UUID=6ccf4b83-d7ad-472d-a32f-3b70e3f74c77 /               ext3    relatime,errors=remount-ro 0       1
    # /dev/sda1
    UUID=857cd650-3fcc-4cf8-8b50-4bbbdaee26a2 none            swap    sw              0       0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    /dev/sda4 /media/Storage ext3 defaults 0 2
    /dev/sda3 /media/Jaunty ext3 defaults 0 2
    ls -la /media
    Code:
    drwxr-xr-x  5 root   root   4096 2009-03-02 10:13 .
    drwxr-xr-x 21 root   root   4096 2009-03-02 09:35 ..
    lrwxrwxrwx  1 root   root      6 2009-02-27 15:41 cdrom -> cdrom0
    drwxr-xr-x  2 root   root   4096 2009-02-27 15:41 cdrom0
    -rw-r--r--  1 root   root      0 2009-03-02 10:13 .hal-mtab
    drwxr-xr-x 21 root   root   4096 2009-03-01 12:32 Jaunty
    drwx------  6 justin justin 4096 2009-03-02 10:05 Storage
    df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              27G  3.4G   22G  14% /
    varrun               1009M  108K 1009M   1% /var/run
    varlock              1009M     0 1009M   0% /var/lock
    udev                 1009M   56K 1009M   1% /dev
    devshm               1009M   44K 1009M   1% /dev/shm
    lrm                  1009M   39M  971M   4% /lib/modules/2.6.24-23-generic/volatile
    /dev/sda4              21G  173M   20G   1% /media/Storage
    /dev/sda3              26G  2.1G   23G   9% /media/Jaunty
    gvfs-fuse-daemon       27G  3.4G   22G  14% /home/justin/.gvfs
    Thanks a lot.

  2. #12
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Storage partition, PERMISSIONS

    So, can you save or remove anything in /media/Storage?

    Code:
    touch /media/Storage/testing
    ls -la /media/Storage
    rm /media/Storage/testing
    ls -la /media/Storage
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #13
    Join Date
    Oct 2006
    Beans
    73
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Arrow Re: Storage partition, PERMISSIONS

    Quote Originally Posted by taurus View Post
    So, can you save or remove anything in /media/Storage?

    Code:
    touch /media/Storage/testing
    ls -la /media/Storage
    rm /media/Storage/testing
    ls -la /media/Storage
    touch /media/Storage/testing works

    ls -la /media/Storage outputs:
    Code:
    total 24
    drwx------ 6 justin justin 4096 2009-03-02 10:46 .
    drwxr-xr-x 5 root   root   4096 2009-03-02 10:13 ..
    drwx------ 2 root   root   4096 2009-03-02 09:58 lost+found
    -rw-r--r-- 1 justin justin    0 2009-03-02 10:46 testing
    d------rwx 4 justin justin 4096 2009-03-01 13:47 .Trash-1000
    drwxrwx--- 2 justin justin 4096 2009-03-01 16:05 untitled folder
    drwxr-xr-x 2 justin justin 4096 2009-03-02 10:05 untitled folder 2
    rm /media/Storage/testing works
    ls -la /media/Storage doesn't show testing anymore.

    It's working perfect. Thanks a lot.
    With that said, and done. Now, I'm reading how to encrypt the partition. It shall be fun, I need to get a USB thumb drive to put my keys on first, reading a bit first helps.

    Thanks a lot.
    Have a good day/night.
    Justin.

  4. #14
    Join Date
    Oct 2008
    Beans
    33

    Re: Storage partition, PERMISSIONS

    I have a problem with permissions as well.

    I took my external HDD and repartitioned it. I left the NTFS partition on there and and just shrunk it enough to add an ext3 partition large enough for my ubuntu. I still have the dual boot setup on my internal hdd so I boot into ubuntu and tried to copy files over. No paste option is available.

    That was when I opened properties on that drive and the permissions say:
    "the permissions of "disk-1" could not be determined"

    I am trying to figure this out before my internal HDD dies for good.
    Sometimes the best way to learn is to help.

  5. #15
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Storage partition, PERMISSIONS

    Quote Originally Posted by sparvik View Post
    I have a problem with permissions as well.

    I took my external HDD and repartitioned it. I left the NTFS partition on there and and just shrunk it enough to add an ext3 partition large enough for my ubuntu. I still have the dual boot setup on my internal hdd so I boot into ubuntu and tried to copy files over. No paste option is available.

    That was when I opened properties on that drive and the permissions say:
    "the permissions of "disk-1" could not be determined"

    I am trying to figure this out before my internal HDD dies for good.
    Are you mounting your external through /etc/fstab?

    Can you post the outputs of these commands from a terminal?

    Code:
    sudo fdisk -l
    sudo blkid
    cat /etc/fstab
    df -h
    id
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •