Results 1 to 11 of 11

Thread: [Serious] NFS Question

  1. #1

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    [Serious] NFS Question

    Yeah, I know it should go in the General PC forum, but anyway:

    Does anyone know why, when I have explicitly included ro in the /etc/fstab options, SuSE Linux 10.1 should still be mounting an NFS file system as rwxrwxrwx?

    Sample /etc/fstab entry:

    VB Code:
    1. bsp27:/u2   /bsp27_u2   nfs ro,nosuid,noexec    0   0

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [Serious] NFS Question

    Try mounting the drive manually using mount from the console.

    I think it would be something like... (at your own risk)

    mount -t nfs -o ro bsp27:/u2 /bsp27_u2

    See if that gives you the same result.
    I don't live here any more.

  3. #3

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    Re: [Serious] NFS Question

    Yep, that does exactly the same thing. I also loathe you for the fact that your advice made me type "man mount"!

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [Serious] NFS Question

    "man touch" is also most amusing.

    What is the native filesystem on the drive that you are mounting? Its not NTFS by any chance is it?
    I don't live here any more.

  5. #5

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    Re: [Serious] NFS Question

    Nah, it's HTFS (SCO specific file system) but it mounts with the correct options on an older redhat box which is why it puzzles me.

  6. #6
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [Serious] NFS Question

    Maybe the -n option may be of use (with the mount command). Other than that, this is out of my depth mate.
    I don't live here any more.

  7. #7

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    Re: [Serious] NFS Question

    Nah, -n relates to when the fstab file is on an ro file system. Thanks for trying tho - a bit ouf of my depth too, which sucks given that I'm the sysadmin Linux file systems I'm fine with but SCO is a strange scary world with lots of badly documented stuff....

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: [Serious] NFS Question

    Quote Originally Posted by CyberSurfer
    Yeah, I know it should go in the General PC forum, but anyway:

    Does anyone know why, when I have explicitly included ro in the /etc/fstab options, SuSE Linux 10.1 should still be mounting an NFS file system as rwxrwxrwx?

    Sample /etc/fstab entry:

    VB Code:
    1. bsp27:/u2   /bsp27_u2   nfs ro,nosuid,noexec    0   0
    Ignore the permissions of the mount directory. Try writing to a file beneath the mount point and it should fail.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  9. #9

    Thread Starter
    Hyperactive Member CyberSurfer's Avatar
    Join Date
    Aug 2000
    Location
    Old London Town
    Posts
    425

    Re: [Serious] NFS Question

    Aha! You are in fact absolutely correct!! Well done that man! What a bloody stupid idea that is, listing a read only dir as having full permissions!!

  10. #10
    Addicted Member bobabot1's Avatar
    Join Date
    Jul 2006
    Location
    The Restaurant at the End of the Universe
    Posts
    162

    Re: [Serious] NFS Question

    Man, I was having the same problem just a little while ago. :P
    Quote Originally Posted by ZaNi
    On a side note, I've figured something out: IE is like life... Its a disease we all start with, and it will be fatal someday unless something drastic changes .

    Note: If I was helpful, rate me!
    This is a subliminal message. GET FIREFOX!

  11. #11
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: [Serious] NFS Question

    Is this just Need For Speed? or the New NFS Most wanted?


    NFS:Carbon is coming soon!! woot!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

Posting Permissions

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



Click Here to Expand Forum to Full Width