Results 1 to 2 of 2

Thread: Cannot execute scripts mounted from NFS v3

  1. #1
    Join Date
    May 2006
    Location
    clermont-ferrand, france
    Beans
    35
    Distro
    Ubuntu 8.04 Hardy Heron

    Cannot execute scripts mounted from NFS v3

    hi

    it worked in 12.04.
    It doesn't work anymore since my migration to 12.10 last week.

    Here is the fstab line :
    nas:/volume1/dropbox /home/guillaume/NasDropbox nfs defaults,user,nolock,nfsvers=3,exec 0 0

    and here is the result:

    Code:
    guillaume@htpc-arctic:~/NasDropbox/Dropbox/scripts/unison$ ./unison_photos_gentoo.sh
    -bash: ./unison_photos_gentoo.sh: Permission non accordée
    
    guillaume@htpc-arctic:~/NasDropbox/Dropbox/scripts/unison$ l unison_photos_gentoo.sh
    -rwxrwxr-x 1 guillaume guillaume 71 May 11  2011 unison_photos_gentoo.sh


    which in English is something like permission denied.
    In 12.04 I added exec in the fstab line to make it happen.

  2. #2
    Join Date
    Dec 2005
    Location
    Durham, NC, USA
    Beans
    9

    Re: Cannot execute scripts mounted from NFS v3

    Do not use the 'user' option. This will result in a 'noexec' setting even if you have specified the 'exec' option. Have a look at the output of "mount" without arguments to see what settings were actually applied.

    I'm not sure if there is a way to get both 'user' and 'exec' to be applied.

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
  •