Results 1 to 3 of 3

Thread: newbie: unable to read folder on mounted disk

  1. #1

    Default newbie: unable to read folder on mounted disk

    On my OpenSuse 11.3, I mounted a new disk (/dev/sdb wich is on /dev/sdb5) as /mnt/ssd folder

    I changed permission of /mnt/ssd to be owned by root, and group users and mod to 777.
    drwxrwxrwx 4 root users 4096 2011-05-08 10:08 ssd


    I can enter this folder as any user.
    Within it, I created folder oradata:
    total 20
    drwx------ 2 root users 16384 2011-05-07 17:46 lost+found
    drw-rw-r-- 2 oracle oinstall 4096 2011-05-08 10:08 oradata

    but, I cannot enter folder oradata as any user (only as root)..
    why?


    this is partition list by fdisk:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3cef705c

    Device Boot Start End Blocks Id System
    /dev/sda1 1 9689 77826861 7 HPFS/NTFS
    /dev/sda2 * 9690 60802 410559488 f W95 Ext'd (LBA)
    /dev/sda5 9690 9952 2104319+ 82 Linux swap / Solaris
    /dev/sda6 9952 12562 20971520 83 Linux
    /dev/sda7 12563 60801 387471360 83 Linux

    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd3682591

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 14593 117218241 5 Extended
    /dev/sdb5 1 14593 117218209+ 83 Linux


    tnx

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: newbie: unable to read folder on mounted disk

    Let us see

    Code:
    cat /etc/fstab
    If it's not added. I would add it, especially if you use kde.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: newbie: unable to read folder on mounted disk

    Quote Originally Posted by bongo_zg View Post
    [...]
    drwx------ 2 root users 16384 2011-05-07 17:46 lost+found
    drw-rw-r-- 2 oracle oinstall 4096 2011-05-08 10:08 oradata

    but, I cannot enter folder oradata as any user (only as root)..
    why?
    Because directories need the x flag. Otherwise you can't change to it (except root of course).

    As root, try
    Code:
    # chmod a+x /mnt/ssd/oradata

Tags for this Thread

Posting Permissions

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