02-06-2007
Couldn't canonicalise: Permission denied SFTP to /nfs share
Let me tack on a similar issue to the above since this is the closest thread I can find out here on the web and there was no resolution posted by the initial user.
I have 2 identical systems that are mounting an NFS filesystem aptly enough named /nfs from a Netapp appliance. I SFTP to SYSTEM1 and cd to the /nfs directory and do an 'ls' and get a directory listing. I SFTP to SYSTEM2 and cd to the /nfs directory and I get the following error message:
Couldn't canonicalise: Permission denied
I'm doing this as the same user with identical UID/GID on both servers. Dsbeerf above referenced NFS but didn't elaborate. The permissions on the /nfs mount on both systems is 777.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am very new to Unix. We have a script that will remove files from a directory. The account removing the files has the same permissions as the directory the files are located. We have logged in as the account and deleted the files from that directory but when we run the script with the account... (7 Replies)
Discussion started by: Cech2002
7 Replies
2. UNIX for Advanced & Expert Users
When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory.
./..: Permission denied
But still I get a listing of other directories under /appl.
Also, if I give 'man' for any command under this /appl folder, I get the following error:
... (3 Replies)
Discussion started by: Deepa
3 Replies
3. Shell Programming and Scripting
When I try to run xterm at a command prompt in solaris 2.5.1, i'm getting a permission denied error. But the directory and user permissions look ok, they are part of a users group and then also root,sys,adm so what gives? Any ideas? Thanks! (1 Reply)
Discussion started by: kymberm
1 Replies
4. Shell Programming and Scripting
Hello,
when I try to connect to a remote machine through SSH username@host I am getting the error message
Permission denied (publickey,password,keyboard-interactive).
Can any one tell me what is the problem. the key is added in the remote machines authorized_keys file. (5 Replies)
Discussion started by: deepusunil
5 Replies
5. OS X (Apple)
Hello,
I am using Tiger 10.4.11
I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd.
Whenever I open X11, I get an error:
xterm: could not exec /dev/null: Permission denied
I have chmodded /dev/null to 777, as well as the /tmp directory.
I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies
6. Shell Programming and Scripting
Hello,
I am have an issues with one of my scripts. I get the following error when I get to the point in the script where I am making the change. The change does take however. the error is "change: xecho: execute permission denied"
Everything was working properly until I start cleaning... (3 Replies)
Discussion started by: simpsonjr
3 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Need your help..
I am writing one script in which I am assigning value to one variable but when i am executing it is showing error "0403-006 Execute permission denied"
below is the line of that script :
INPUT_COUNT=wc $GIF_DIR/input/VID_RIMS.DAT | awk '{print $1}'
and access... (2 Replies)
Discussion started by: NirajThakar
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I was trying a perl-cgi tutorial and saving the data from online form to a file named (guests.txt). I am using the localhost port 80 for practice.
My page file "guestbook.html" is working as I saw the online form. After filled out the blanks and submit, I was expecting to see the result... (3 Replies)
Discussion started by: yifangt
3 Replies
9. Red Hat
I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies
10. Shell Programming and Scripting
Hello,
I am trying to stream lines written into file. When first source is down, I expect the code to swap to second line and run it.
Script below works as usual and it prints out each line of the input file (s.txt):
#!/bin/bash
while read -r line;
do
echo "$line"
done <"$1"
exit 0Output... (12 Replies)
Discussion started by: baris35
12 Replies
LEARN ABOUT PLAN9
mount.nfs
MOUNT.NFS(8) System Manager's Manual MOUNT.NFS(8)
NAME
mount.nfs, mount.nfs4 - mount a Network File System
SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options]
DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality.
mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone
command with limited functionality.
remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be
mounted.
Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions,
mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2.
OPTIONS
-r Mount file system readonly.
-v Be verbose.
-V Print version.
-w Mount file system read-write.
-f Fake mount. Don't actually call the mount system call.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making
an entry.
-s Tolerate sloppy mount options rather than fail.
-h Print help message.
nfsoptions
Refer to nfs(5) or mount(8) manual pages.
NOTE
For further information please refer nfs(5) and mount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO
nfs(5), mount(8),
AUTHOR
Amit Gud <agud@redhat.com>
5 Jun 2006 MOUNT.NFS(8)