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
ADVERTISEMENT
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
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
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
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
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
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
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
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
View Related
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
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
Feb 3, 2010
I have just installed 9.10 netbook remix onto my Eeepc 901. I was previously using 9.4 Rather than clicking on shutdown icons, or going through shutdown menus, I added a keyboard shortcut to run a shell script containing the following code:
Code:
#!/bin/bash
init 0
because init needs to be run as root to have the correct permissions, I set the owner and group to be root , ran chmod 711, then chmod u+s to prevent anyone altering the script, and to allow anyone to execute it with root privelidges Since updateing to 9.10 netbook remix, I have been unable to get this to work. have applied the above changes but get a "/bin/bash: /usr/bin/shutdownscript: permission denied" error when I try to run my shutdown script from the terminal (nothing happens when I press the key combination asigned to the keyboard shortcut). If I run the shutdown script with sudo then it neatly shuts down. ls reveals the following permissions:-rws--s--x 1 root root
So it appears as if SUID and SGID are both set, and the owner/group are correct, and the script works, and yet it doesn't have the permissions to work. I installed 9.4 long ago enough that I can't remember if I had to do anything else to get it working, or has something changed between 9.4 and 9.10?
View 3 Replies
View Related
Aug 19, 2010
Forum.Ref:Ubuntu 10.4 Lucid LynxFluxboxOpera 10.61Has anyone a clue how I can solve following (minor but annoying) problem?It takes a relative long time (a few seconds) as normal user before Opera starts in my fluxbox environment. I expected a quicker startup time.Also because when I start opera as root the startup time is shorter.I started opera in a terminal. No messages when started as root with gksudoBut 5 lines of:open: Permission deniedwhen started as normal user. Startup succeeds after these messages.So I figured out that there is some kind of authorisation problem but have no clue how to find out which files opera tries to open and fails and what to do at this point.I searched for similar problems on this forum and also via google but could not find any real answers.
View 4 Replies
View Related
Sep 17, 2010
Currently I am having troubles getting my ssh key to work correctly. I have had a desktop crash which has been reformatted to use ubuntu. The key residing in id_rsa.pub has been copied over to the ssh server into the authorized keys of the given user. however When we try to login we get a "permission denied (public key, keyboard-interactive)" error. below is the debug option:
jv@ops-desktop:~/.ssh$ ssh -v jv@x.x.x.x
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[Code]....
View 5 Replies
View Related
Dec 7, 2010
I have a shared directory on another machine but I can't get it to mount. The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine? The remote has sharing enabled for the shareddocs directory and after I have mkdir'ed the local mount point I open it's permissions too.
The verbose response from mount.cfis looks like this:
mount.cifs kernel mount options: unc=//192.168.1.102shareddocs,domain=WORKGROUP,ver=1,rw ,username=clive,,,,,,,,,,,ip=192.168.1.102,pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs( manual page (e.g. man mount.cifs) The man page does not have a list of error codes.
View 3 Replies
View Related
Jan 3, 2011
Im running Ubuntu 10.10 on my hp mini 110 netbook, have been for since i upgraded from 10.04. The problem Im having all of a sudden is when I try and copy anything from internal file system, to anything external [phone, card reader, usb hardrive] I get a pop up that says Error opening file '/media/disk/<filename>': Permission denied
Should be a quick fix i would think, what you guys got ???
View 2 Replies
View Related
Apr 23, 2011
I've done a fresh install of Ubuntu 9.04 and tried to create a folder using the File Brower went to my user account and proceeded to create a directory. Then when trying to cp a file to this new directory I get permission denied. I checked the directory permissions and discovered that its owner was root not the user that I was signed in as.
So I had no choice but to enable the root account so I could copy the file I wanted. Why could I not have copied the file using the user that I was signed/logged int as without resorting to changing users to root. I hope that its not a bug of some kind or maybe I did something weird during the install. I would like to disable the root account again.
View 7 Replies
View Related
Jul 28, 2010
I'm getting this error when trying to check my software installation. On sudo make check it fails and says that:I'm logged in as root.SLASHbinSLASHbash: line 8: .SLASHtest-indexer: Permission denied
View 3 Replies
View Related
Mar 1, 2011
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
Code:
Why this isn't working?
View 8 Replies
View Related
Apr 12, 2011
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?
View 2 Replies
View Related
Jul 17, 2009
I compiled a hello-world code under /media/ext3-datadisk/summary/prog
where ext3-datadisk is on an external drive.
But I cannot run it.
Quote:
I am not bashing CentOS 5.2, but I don't have such problem with ubuntu 8.04.
View 5 Replies
View Related
Feb 20, 2010
fresh install of ubuntu karmic server. fresh, vanilla install of openssh-server attempt to connect either via standard ssh, linux client or puTTY win32 client system (both on local LAN)
First connect is great. connection established.
Second connection (via multiple clients) screams that: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" and since I have strict checking, won't let me continue.
So, i do a little
Code:
To flush it out (i have backups,).
Then i try again:
I get the typical "Are you sure you want to continue connecting (yes/no)?" and i say yes. at which point, i offer the password for the username in question and it flat out refuses: "Permission denied, please try again."
Ok, so i have even gone as far as do a complete rip and replace of the ssh server and it's config files, however this continues to loop and repeat.
So, question one: Why does my key change?
Question two: Why am i getting "permission denied" errors on subsequent connect.
View 9 Replies
View Related
Mar 16, 2010
I just installed Apache2, PHP5 and MySQL on my Ubuntu 9.10. I have about 200+ .php format files of my site (including index.php) which I need to copy to var/www.
But the permission is denied.
View 5 Replies
View Related
Jul 19, 2010
I want to install Ubuntu 4.10. But I get error permission denied face. I do not have CD-ROM. How can I do this?Is it possible to install via USB? [URL]
View 2 Replies
View Related
Nov 22, 2010
I have a Ubuntu box and just got a new hard drive. Rather than copy everything over from my old working Ubuntu install, I wanted to install Ubuntu from scratch and then rebuild the file contents.I have a large collection of music that I use on my mac (another computer) and like to keep sync'ed to the Ubuntu box. The following script used to work flawlessly:
Code:
rsync -avz --delete --exclude-from './music_exclude_list' '/Users/ryan/Music/iTunes/iTunes Music/' 'ryan@192.168.1.200:/home/share/music'
[code]....
View 1 Replies
View Related
Feb 8, 2011
Sudo echo fuse >> /etc/modules
Any idea why that'd yield a "bash: /etc/modules: Permission denied" error? Here's what "stat /etc/modules" says code...
View 1 Replies
View Related
Feb 22, 2011
I am using ubuntu 10.10. when I am using Codeblocks IDE it says that, permission :access is denied. When I try to run e .cpp code it occures. I think permission is denied on my HDD. How to make all of my HDD permitted when in Ubuntu....
View 4 Replies
View Related
Mar 31, 2011
Why when I want to install some thing on my ubuntu 10.10 from terminal or user any other commands I have this output:
Permission denied
This one I want to install make-3.82. I extract files and open install file (a text guide file)
in this guide I see this
HTML Code:
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
I do this I open my terminal cd to that location and type ./configure
And output is this:
bash: ./configure: Permission denied
When I want to make any softwares I have the same problem? I have to give terminal any permission or something? I want to do any action to don't see this .... message again.
View 6 Replies
View Related
May 2, 2011
I made an my iso CD pop it into my laptop and install it Half way into the installation it goes premission denied c:/windows/users/ME/apptemp/local/temp/wubi11.04rev197 What am I doing wrong??
View 3 Replies
View Related
Jun 1, 2011
I'd like to view the log files, but when I try to view a log (such as daemon.log), I receive a message that says "You don't have permission to read the file." What do I need to do to have permission? (This is my computer. I've been an Ubuntu user for less than a year
View 3 Replies
View Related