Software :: ./a.out - Permission Denied ?

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


ADVERTISEMENT

Server :: Permission Denied With Ls -l Or Ls -la But Ls Ok

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

Server :: /usr/bin/gcc: Permission Denied?

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

Debian :: Ftp User - 550 Permission Denied

Mar 2, 2011

I am in the process of setting up a new server (Debian - Lenny - now updated to Squeeze) and every things were going fine. But unfortunately from today , whenever a user login to ftp, it says

550 permission denied and not able upload / edit or remove any files ( i am able to see all files and folders)

Yesterday it was working fine..

I tried using bot Pure Ftp and Proftp and the issue is common

What I am trying to do is

add a unix user exalmple through adduser command with default directory for the user as /var/www/example.com (shell enabled)

owner of example.com is example

and using the above user name and password to ftp files to the folder

View 1 Replies View Related

Debian :: Chmod Permission Denied

Dec 11, 2015

I have setup my debian 8 web server.

For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).

When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.

So I try:
Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images

and I get this return:
Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied
chmod: cannot access ‘images/ie-icon.svg’: Permission denied
chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied
chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied
chmod: cannot access ‘images/404.jpg’: Permission denied

[Code] ....

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

Ubuntu :: SUID And 'permission Denied'?

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

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

Ubuntu :: Opera: Permission Denied?

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

Ubuntu :: SSH Public Key Permission Denied?

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

Ubuntu :: Error(13): Permission Denied

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

Ubuntu :: Permission Denied When Copy To Usb?

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

Ubuntu :: Permission Denied When Using CP Command

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

Applications :: Permission Denied On ./setup?

Oct 25, 2010

how to install software. but I am getting an error permission denied when i use command ./setup

I think I am logged in correctly as root.. and I am in the correct directory, why am i getting a permission denied error?

View 9 Replies View Related

Ubuntu :: BinSLASHbash: Permission Denied?

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

Fedora :: ~/.bashrc Permission Denied 13?

Nov 15, 2010

I am trying to install Network simulator 2.34 on fedora 13..my installation was successful. but I am unable edit my bashrc file...All I had to do was

"
Add all these lines into your ~/.bashrc file:
export PATH=$PATH:/opt/ns-allinone-2.34/bin:/opt/ns-allinone-2.34/tcl8.4.18/unix:/opt/ns-allinone-

[code]....

View 4 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

Networking :: NFS Server - Permission Denied ?

May 12, 2010

I have a mount problem with a NFS server on Debian Lenny. No matter what I do, I cannot mount a directory from another Debian box on the same network.

The error the client gives:

The server reports:

But there it is, in my exports:

cat /etc/exports:

Doing a:

NOTE: this default has changed since nfs-utils version 1.0.x

Comes up empty (and it should not, right?)

There is no firewall inbetween. No access restrictions via the tcpwrappers.

View 8 Replies View Related

Networking :: NFS Share Permission Denied

Mar 23, 2010

I'm sure there is a very trivial solution to my problem but I just can't figure it out due to my lack of knowledge.I want to mount an nfs share share on client1. The share is on server1.The server1 /etc/exportfs has entry: /backup client1 rw,all_squash,no_subtree_ check) The client1 sudo mount works just fine: sudo mount server1:/backup /backup..Can anyone let me know how to mount the nfs whare with options to read/write permissions for a regular user. And then put that mount into /etc/fstab? Should I mount first and then change the ownership of that folder?

View 4 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

Server :: Permission Denied After SU - Username

May 25, 2011

I am getting permission denied after su - <username>. I have checked the permission and did not get any error.

[root@NF-Provider-SOC /]# su - nfadmin
-bash-3.00$ cat /var/log/messages
cat: /var/log/messages: Permission denied
-bash-3.00$ pwd
/home/nfadmin
-bash-3.00$ which bash
/bin/bash
-bash-3.00$ crontab -l
cron/nfadmin: Permission denied
-bash-3.00$ id
uid=501(nfadmin) gid=503(nfadmin) groups=502(dba),503(nfadmin)
-bash-3.00$ tailf /var/log/messages
Cannot open "/var/log/messages" for read
Permission denied
and permission in home dir is 755.

View 1 Replies View Related

Server :: Permission Denied On New Partition?

Apr 16, 2010

I have created a new partition

/dev/cciss/c0d0p2 8489 17709 74067682+ 83 Linux
I formatted it with
mkfs.ext3 /dev/cciss/c0d0p2

[code]....

View 11 Replies View Related

Server :: Proftpd Getting 550 Permission Denied

Jun 16, 2010

I installed proftpd on a new CentOS 5 server, yet when FTPing in (I can log in fine), the files and directories do not list and I get a "550 filename: Permission denied" error each time I try to "put" or "get" a file (I can tell that the file is there, though, because if I try to access a non-existent file, I get a "No such file or directory error" instead of the permission denied error).

View 10 Replies View Related

Server :: Ssh - Permission Denied - Publickey

Nov 25, 2010

If I try to connect to 192.168.1.100 server, I get:

Code:

Unfortunately, I don't manage this 192.168.1.100 server. Am I correct, that sshd on 192.168.1.100 supports only publickey authentication because:

Code:

I have .ssh/id_rsa present. Any ideas, what might cause this "Permission denied (publickey)" issue?

View 2 Replies View Related

Software :: FWBuilder Gives - Permission Denied ?

Jul 6, 2010

I have a router on 192.168.0.1 and eth0 on 192.168.0.122 and that's it, and i'm trying to set up a fire wall. so i choose DHCP conn for eth0, put my ip into eth1 and compile, but when i try to install it with firewall builder it asks me for user and password, i put in my user and root password that i use with (sudo) and 192.168.0.122 for the adress that will connect to firewall, but i get permission denied message for about 3 hours now.

View 1 Replies View Related







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