Sponsored Content
Top Forums UNIX for Advanced & Expert Users permission denied for ". " (dot space) Post 302114005 by shriashishpatil on Thursday 12th of April 2007 02:43:21 AM
Old 04-12-2007
permission denied for ". " (dot space)

Hi,
When I try to run a script with ". "(dot space) in my home, it gives me error ".: Permission denied".



Quote:
snv899!ashishp:~ [151]> ls -l tmp
-rwxr-xr-x 1 ashishp rater 8 Apr 12 09:38 tmp*
snv899!ashishp:~ [152]>
snv899!ashishp:~ [152]>
snv899!ashishp:~ [152]> cat tmp
echo hi
snv899!ashishp:~ [153]> . ./tmp
.: Permission denied.
snv899!ashishp:~ [154]> . tmp
.: Permission denied.
snv899!ashishp:~ [155]>
Any explanation for this behaviour?

Thanks in advance,
-Ashish
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changing password with sudo user " permission denied"

HI All, I am using solaris i created a user adam and updated his permissions in vi sudoers file as follows adam ALL=(ALL) NOPASSWORD: ALL ........... when i create user by logging as sudo user . $ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan sudo: not found ... (6 Replies)
Discussion started by: kalyankalyan
6 Replies

2. UNIX for Advanced & Expert Users

EACCES "Permission denied" while open(2)

guest@ulidtko:~$ id uid=126(guest) gid=134(guest) groups=134(guest) guest@ulidtko:~$ ls -ld /home drwxr-xr-x 8 root root 4096 May 12 19:47 /home guest@ulidtko:~$ ls -l /home ls: cannot open directory /home: Permission denied guest@ulidtko:~$ cat /proc/mounts rootfs / rootfs rw 0 0... (4 Replies)
Discussion started by: ulidtko
4 Replies

3. OS X (Apple)

"Permission Denied" while modifying mounted files on MAC

Hi, I have two machines 1. MacOSx (Users --> userMac , IP - a.b.c.d) 2. FreeBSD (Users --> userBSD, IP- p.q.r.s) I want to modify some files of FreeBSD on my MacOS. So, I mounted the FreeBSD folder on my Mac as follows. $ sudo mount -o -P p.q.r.s:/usr/home/user... (5 Replies)
Discussion started by: akash.mahakode
5 Replies

4. Solaris

BSM auditing issues, need to audit "permission denied"

Let me preface with I am semi-new to Solaris. I work with it in the labs at work and that's about my extent (although I run Linux at home). Well, a week ago security comes around with updated requirements, some of which are the need to audit all failures. For the life of me I cannot get a... (0 Replies)
Discussion started by: mph275
0 Replies

5. Red Hat

+ + in .rhosts is causing a "Permission Denied"

I have a user who has "+ +" at the top of his .rhosts file. He cannot "rsh NODE date" to a different box ( both are RHEL 5.4 ). If I remove the "+ +" then the "RSH" works. I have correct settings of node names/user in the .rhosts file. I even tried adding to the second box's... (3 Replies)
Discussion started by: rom828
3 Replies

6. Linux

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Discussion started by: sanoop
2 Replies

7. UNIX for Advanced & Expert Users

Showing "permission denied" when trying to login in - Montavista Linux

Hello friends, I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Discussion started by: sanoop
7 Replies

8. Solaris

"Permission denied" when changing IP netmask

hello everyone, I am new on unix systems. I am working with a Solaris 10 OS. When i try to change netmask on certain interface: I get: How can i enable permission for changing that ? I have administrator privileges. Your help is much appreciated. thanks, (13 Replies)
Discussion started by: pablod76
13 Replies

9. AIX

SSH connection "Permission denied"

Hello, I tried to connect with root or any other user to AIX using ssh. It throws me error like Permission denied (publickey,keyboard-interactive). i don't know why!! and the PermitRootLogin is yes any help will be appreciated Thanks (7 Replies)
Discussion started by: moudmm
7 Replies

10. OS X (Apple)

"Permission denied" when trying to SSH my iPhone though password is correct

Hi, I hope this is the correct section in the forum to post as I'm trying to SSH from my MacBook. I was looking to see whether ssh on my jailbroken iPhone 6s (10.3.1) still works fine and was following this old reddit guide. I installed OpenSSH&OpenSSL from Cydia and changed the password using... (7 Replies)
Discussion started by: hss1
7 Replies
RFIO_RCP(3)						      Rfio Library Functions						       RFIO_RCP(3)

NAME
rfio_rcp - third party copy of a file SYNOPSIS
#include <sys/types.h> #include "rfio_api.h" int rfio_rcp (char *source, char *destination, int timeout); DESCRIPTION
rfio_rcp triggers a third party copy of a file. source specifies the physical path of the source file. destination specifies the physical path of the file at destination. timeout specifies the time after which the copy is cancelled if not completed. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOENT The source file does not exist or a component of destination prefix does not exist. EACCES Search permission is denied on a component of the source or destination prefix or read permission is not granted on the source file or write permission on the destination parent directory is denied. EFAULT source or destination is a NULL pointer. ENOSPC No space to store the new file copy. ENAMETOOLONG The length of source or destination exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN. SENOSHOST Host unknown. SETIMEDOUT Has timed out. SECOMERR Communication error. SEE ALSO
Castor_limits(4) LCG
$Date: 2010-09-07 09:21:01 +0200 (Tue, 07 Sep 2010) $ RFIO_RCP(3)
All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy