General :: -bash: /home/rb27/.bash_profile: Permission Denied

Sep 9, 2011

I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.

Could not chdir to home directory /home/rb27: Permission denied

here is a snippet of what I get when I use the command ls -al:

drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27

I cannot log in as root since the permission is denied

View 1 Replies


ADVERTISEMENT

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General :: Bash: /etc/ld.so.conf: Permission Denied?

Sep 10, 2010

If I run this as su I get the same thing. If I log on as root user It is the same as well

View 5 Replies View Related

General :: -bash: ./PE1650_RAID_FRMW_LX_R168387.BIN: Permission Denied?

Aug 24, 2010

[root@mail tmp]# ./PE1650_RAID_FRMW_LX_R168387.BIN-bash: ./PE1650_RAID_FRMW_LX_R168387.BIN: Permission deniedalso get it when trying to run[root@mail tmp]# ./ESM_FRMW_LX_A37_R117418.BIN-bash: ./ESM_FRMW_LX_A37_R117418.BIN: Permission denied

View 2 Replies View Related

General :: Chdir To Home Folder: Permission Denied When Use Ssh?

Sep 8, 2010

I ssh to a remote server using the username "madel" and it gives me a strange error:

Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied

[code]....

View 2 Replies View Related

General :: New DSL Install - Reboot - Now -bash Permission Denied ?

Dec 16, 2009

Firstly, i'm NEW to Linux and my very first time with DSL. I'm installing this on an older Dell Latitude laptop.

I just finally got the DSL installed on my HDD successfully and then I added feh to start and run at start up, then I rebooted and now i'm getting this error:
No, directory, logging in with HOME=/ -bash: cd: /home/dsl: Permission denied

I have tried reading numerous websites but none explains to the level whereby I can understand. I even tried rebooting from the CD, but could not figure out how/what to do next?

The question is, can someone explain how I can use the DSL CD to try to correct this error. More importantly, can you explain in layman terms so that I can actually put it good use.

Also, some additional questions I have....when you download a file where does it save to?

View 6 Replies View Related

General :: /usr/bin/xterm: Could Not Exec /bin/bash: Permission Denied

Sep 24, 2010

I'm in trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at top left corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied" Then I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied" I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed.

Code:

[root@localhost lib]# ldd /bin/bash
linux-gate.so.1 => (0x00687000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x05846000)

[code]....

View 2 Replies View Related

General :: Cannot Change Directory To /home/oracle: Permission Denied

Nov 8, 2010

I am installing oracle 11g on Oracle enterprise Linux 5 i applied all the steps in doc [URL] when trying to switch user to user oracle i am facing the below

[root@oel5 ~]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied

View 14 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

Jul 21, 2009

I have a strange problem when I do SSH to a FEDORA9 based Linux Server.

[Code]....

When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied

View 7 Replies View Related

Ubuntu :: Bash: Permission Denied

Mar 27, 2010

I tried to execute the following command: $ ./eval_online_wiki.ml -db_user aa -db_pass bb -db_name cc It returned as follows: bash: ./eval_online_wiki.ml: Permission denied What does this mean? How to solve the problem? Actually, I was following a README, and it says "$ ./eval_online_wiki -db_user <username> -db_pass <pwd> -db_name <db_name>"

View 2 Replies View Related

CentOS 5 :: -bash: /dev/st0: Permission Denied?

Jan 2, 2009

I'm trying to run a backup using CPIO to an LTO2 tape in an HP Ultrium 460 drive using the following:find / -path /proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0Each time I get the error:-bash: /dev/st0: Permission deniedThis is regardless of whether I sudo the two sides of the command or not. I have used dd if=/dev/st0 of=/tmp/test.file ibs=128k count=1 to verify the blocksize (and since I was a little confused about block-size in cpio I also tried --block-size=256)

View 5 Replies View Related

Fedora :: Could Not Exec /bin/bash Permission Denied?

Sep 24, 2010

trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at topleft corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied"hen I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied"I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed

View 4 Replies View Related

Ubuntu :: Chdir To Home Folder: Permission Denied When Use Ssh?

Sep 8, 2010

I have a strange problem I ssh to a remote server using the username "madel" and it gives me a strange error:

Last login: Wed Sep 8 18:17:51 2010 from greece.doe.carleton.ca
Could not chdir to home directory /home/madel: Permission denied
grep: /home/madel/.bashrc: Permission denied
Preparing your .bashrc for Linux

[Code]...

View 3 Replies View Related

Ubuntu :: Connecting To Home Server Via SSH - Permission Denied

Sep 22, 2010

Is it possible to SSH to a remote computer from within an SSH session? I'm connecting to my home server via SSH, and trying to connect out to my VPS. I know the key.ppk file works, as I can use it to connect directly from my PC. The output I'm getting is shown below:

Code:
# ssh -i key.ppk -v -l myuser myuser@domain.co.uk
(tried various ways of doing this)

Code:
OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to mydomain.co.uk [123.456.789.012] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0 .....
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
debug1: No more authentication methods to try.
Permission denied (publickey).
There's nothing I can see in the auth.log file on the VPS.

View 2 Replies View Related

Ubuntu :: Bash: /proc/sys/vm/drop_caches: Permission Denied

Aug 10, 2010

I've been using Digikam and it's a huge blow to my system memory. Even after quitting I still feel my computer to be slightly slower. I tried running the commands from [URL] but I get this instead

bash: /proc/sys/vm/drop_caches: Permission denied

View 4 Replies View Related

Ubuntu Security :: Permission Denied When Copy Home Directory?

May 22, 2011

Running Ubuntu 10.04 I logged into (sudo?) (root?) using:

Code:
sudo -s
and then entering my password.

I navigated into the home folder and viewed the long listing of it's contents using:

Code:
root@host:~# cd /home; ls -l
total 4
drwxr-xr-x 65 uname uname 4096 2011-05-22 17:14 uname

[Code]...

View 5 Replies View Related

Programming :: Remove Line Containing Certain Variable - Bash - Permission Denied?

Jul 20, 2011

I am writing a bash script to run everyday and output results to a file. When the same results are produced i want to overwrite the line from the previous day. (Or remove and add). So if the script finds a variable in a line. i want it to output the results to that line . sed -i did not work for me; sed: couldn't open temporary file ./sedTvOCEg: Permission denied

View 10 Replies View Related

CentOS 5 Hardware :: NTSF Mount - Bash: /dev/sda1: Permission Denied

Nov 5, 2009

I have tried to mount Sda on my laptop HP dv6 and I have got this problem [root@cpe-74-71-125-175 ~]# /dev/sda1 /mymount/win ntfs-3g rw,umask=0000,defaults 0 0 bash: /dev/sda1: Permission denied

View 3 Replies View Related

General :: Permission Denied As The Root

Mar 23, 2011

The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below:

drwxrwsrwx ....... file_name

However the owner of the file can still read/write this file.

AND:

0) not the problem of execution, just read/write
1) not the problem of device because regular user can read/write it.
2) the result of command id:

uid=0(root) gid=0(root) groups=0(root)

so I don't think it's the problem of group.

View 2 Replies View Related

General :: ACL - Permission Denied / Resolve This?

May 17, 2011

I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP".
Here is my code:

To ensure userP has access to the parent directory (jboss) code...

Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory.
Does anyone know what I'm doing wrong?

View 4 Replies View Related

General :: SSH To Localhost Permission Denied?

Oct 19, 2010

On the current machine:> su - username (it works)> ssh username@localhost (doesn't work)
What could be the problem?

View 6 Replies View Related

General :: $ Dd: Opening `/dev/fd0': Permission Denied

Aug 21, 2010

Since lucid was installed, I can no longer access my floppy drive. I try creating an image on it and this happens:

$ dd if=a.img of=/dev/fd0
$ dd: opening `/dev/fd0': Permission denied

How do I get permission to do this? I'm the only user and am an administrator.

View 2 Replies View Related

General :: /bin/sh: Bad Interpreter: Permission Denied?

Nov 5, 2010

I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it

View 4 Replies View Related

General :: /etc/ssh/sshd_config: Permission Denied?

Apr 5, 2010

i am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.

View 3 Replies View Related

General :: Find : Permission Denied?

Jul 10, 2010

I'm using the find command in a PHP script like this to update permissions on all files but not directories:

<?php
// whole bunch of code
exec("find /var/www/vhosts/mydomain.com/httpdocs/path/to/some/directory -type f -exec chmod -R 440 {} ;");

[code]....

View 1 Replies View Related

General :: Hosts.allow - Permission Denied

Oct 4, 2010

After I type sshd: 192.168.1.11 : allow and

sshd : ALL : Deny

I can't access hosts.allow or deny any more.

It says "Permission denied"

Before I typed that, I can access hosts.allow and deny.

By the way, I was wondering what command to edit hosts.allow.

For example, I want to put sshd: xxx.xxx.xxx.xxx : allow in that file.

View 14 Replies View Related

General :: Debian Permission Denied On Login?

Dec 8, 2010

when i logging with root then i saw message "permission denied" Then i changed root shell directory "usermod -s .usr/ root" but it says "permission denied" again. what is the default shell directory, or what can i do for change permissions.

View 1 Replies View Related

General :: Moving Files Permission Denied?

May 10, 2010

I am not sure if this is posted somewhere else, if it is sorry. Anyways I downloaded files to my desktop from firefox and i need them to be in usr/local file, but if i try to put it in there it tells me permission denied. Is there anyway around this?

View 5 Replies View Related

General :: Writing Zreos To HD But It Denied Permission?

Mar 27, 2011

I tried writing zreos to my HD but it denied permission. How do I get around that ?

View 6 Replies View Related

General :: Permission Denied For Directory Have Created

Oct 22, 2010

I have created user, group, gave permission chmod and chown with -R option. But when i try to enter into the directory for that created the user and group, I can not enter into.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved