11-06-2013
ISSUE : bash: cd: /rep/prok: Permission denied
Hi All,
i have two accounts with acl permissions. I need to provide read access to both users. for one user s109552
"cd" is not working.
drwxrws---+ 8 cvsadmin reto 1024 Aug 23 2011 reto
su5sr117# su - s109553
$ bash
bash-3.2$ cd /rep/reto
bash-3.2$ pwd <-------- it working here
/rep/reto
bash-3.2$
****************************
getfacl /rep/reto
# file: /rep/reto
# owner: cvsadmin
# group: reto
user::rwx
user:s109553:r-x #effective:r-x
group::rwx #effective:rwx
mask:rwx
other:---
---------------------------
drwxrws---+ 9 cvsadmin prok 1024 Mar 14 2011 prok
su5sr117# su - s109552
$ bash
bash-3.2$ cd /rep/prok
bash: cd: /rep/prok: Permission denied <---------- not working here
bash-3.2$
**********************
getfacl /rep/prok
# file: /rep/prok
# owner: cvsadmin
# group: prok
user::rwx
user:s109552:r-- #effective:r--
group::rwx #effective:rwx
mask:rwx
other:---
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to copy data from local mechine to cluster. Basically, I typed
scp -r DVD/ acount@cluster:/
it shows Permission denied.
Could anyone please give me a clue to write permission on cluster, please?
The poperty of where on cluster I'd like to put is drwxr-xr-x
Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have a problem creating files in a certain folder. I installed apache and mysql today, using this guide:
http://computerfaq.be/ubuntu-apache-mysql-php-server-installeren/
(can't post links yet :( )
Instead of /home/www/html I used /home/www/ for the document root.
Now I... (12 Replies)
Discussion started by: emveedee
12 Replies
3. Shell Programming and Scripting
hello
I m trying to enter in a folder through my script but getting permission denied error ..
Is there any command or somthing else so that i can access these folder through my script. (3 Replies)
Discussion started by: urfrnddpk
3 Replies
4. Linux
Hi,
I have 2 linux servers. One of them has a mount which I have mapped to a shared samba directory on the other server. Below will help you understand better.
smb.conf on Server1:
workgroup = WRKGRP
netbios name = smbserver
security = SHARE
load printers = No
default service = global... (11 Replies)
Discussion started by: satishrao
11 Replies
5. Shell Programming and Scripting
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies
6. Linux
Hi,
I am trying to install RT 4.0.4 on Centos 6. I am almost done with the installation. However, when i try to start my web server (Apache - user: apache, group: apache) i get the following error:
Starting httpd: : (in cleanup) Error while loading /opt/rt4/sbin/rt-server: Cannot create... (0 Replies)
Discussion started by: rtipx_user
0 Replies
7. AIX
I have the following problem on my AIX 6.1 server.
I logged in with Root ID to this folder etc/opt/symantec/scspagent/lib/instfunlib I try changing the folder permission but I keep getting this output :
chmod: /opt/symantec/scspagent/lib/instfunlib: Permission Denied
I did a listing on it... (3 Replies)
Discussion started by: mcdsweet98
3 Replies
8. UNIX for Dummies Questions & Answers
I'm sure this question comes up a lot, but I'm particularly confused in this situation.
I can run my program once, just fine. However, if I try to run it again without recompiling, bash refuses to give me permission. I have a small idea why, but I don't think think I'm right.
Here's what I'm... (1 Reply)
Discussion started by: statichazard
1 Replies
9. UNIX for Dummies Questions & Answers
my file permissions are -rwxrwxrwx for runInstall file
and while giving " sudo bash runInstall.sh " then i am getting error " permission denied"
now i don't see any reasonable answer for that please suggest what should i do?
:eek:
got to start DBConnection practice with oracle database and... (4 Replies)
Discussion started by: toshanshu
4 Replies
10. Shell Programming and Scripting
I have a script that checks if the script has been ran with sudo.
If the script is not ran as sudo, the current script is being executed with exec sudo bash.
You are asked for a password, you type in the password, success. Everything is perfect - the commands inside the script are ran as sudo.... (1 Reply)
Discussion started by: boqsc
1 Replies
RBASH(1) General Commands Manual RBASH(1)
NAME
rbash - restricted bash, see bash(1)
RESTRICTED SHELL
If bash is started with the name rbash, or the -r option is supplied at invocation, the shell becomes restricted. A restricted shell is
used to set up an environment more controlled than the standard shell. It behaves identically to bash with the exception that the follow-
ing are disallowed or not performed:
o changing directories with cd
o setting or unsetting the values of SHELL, PATH, ENV, or BASH_ENV
o specifying command names containing /
o specifying a file name containing a / as an argument to the . builtin command
o specifying a filename containing a slash as an argument to the -p option to the hash builtin command
o importing function definitions from the shell environment at startup
o parsing the value of SHELLOPTS from the shell environment at startup
o redirecting output using the >, >|, <>, >&, &>, and >> redirection operators
o using the exec builtin command to replace the shell with another command
o adding or deleting builtin commands with the -f and -d options to the enable builtin command
o using the enable builtin command to enable disabled shell builtins
o specifying the -p option to the command builtin command
o turning off restricted mode with set +r or set +o restricted.
These restrictions are enforced after any startup files are read.
When a command that is found to be a shell script is executed, rbash turns off any restrictions in the shell spawned to execute the script.
SEE ALSO
bash(1)
GNU Bash-4.0 2004 Apr 20 RBASH(1)