Ubuntu :: Permission Denied Errors When Executing A File On A Different Hard Drive?

Sep 8, 2010

I installed Ubuntu 10.10 beta yesterday and most of it is working very well. However, I ran into a problem with permissions today.I have a HDD containing my home folder and a HDD containing my data folder. The HDD with the data folder is mounted on /media/data/data_1.

Code:
jensen@jensen-desktop:~$ ll /media/data/ | grep data_1
drwxrwxrwx 8 jensen jensen 4.0K 2010-09-07 23:10 data_1/[code]....

I made sure I had set a+x rights on the file, tried executing it as root but the permission error stayed.When I copy that same file to my Desktop folder I can perfectly execute it.When it's located on the other hard drive I can't. I tried several command line scripts and they all work when I execute them from my OS hard drive,but not from another hard drive.

View 2 Replies


ADVERTISEMENT

General :: Executing File Resulting In Permission Denied Error

Apr 21, 2010

I am wondering why running this file:

Code:
-rwxrwxrwx 1 root root 1247 2010-04-21 18:25 autorun.sh
by issueing this command:

Code:
./autorun.sh
results in this message:

Code:
-bash: ./autorun.sh: Permission denied

I'm logged in as root and prior to the above I did a chown root:root on the file.

View 3 Replies View Related

Fedora :: Unable To Check "allow Executing File As Program" In File Properties - Permission Denied

Feb 27, 2011

Im trying to run a program but my system won't let me.i used to be able to run executable files without a problem but i can't anymore when i double click the file i get "there is no application installed for executable files" i am unable to check "allow executing file as program" in file properties there is a script file which runs the program but all i get from the terminal is "permission denied"

View 14 Replies View Related

Ubuntu :: Permission Denied (cloning Hard Drive With A Img)

Dec 31, 2010

Code:
user01@ubuntu:~$ sudo gunzip -c /media/xbox/xbox_image.gz | dd of=/dev/sdc
dd: opening `/dev/sdc': Permission denied
[sudo] password for user01:

[Code]....

I'm getting Permission denied even though I'm putting sudo in front of the command but, instead of asking me for a pass word it just says Permission denied "then" it askes for a pass. I enter the pass and it just takes me to the

user01@ubuntu:~$

prompt. I enter the command a second time and it says Permission denied again.

View 4 Replies View Related

Ubuntu Security :: Permission Denied On External Hard Drive

Jan 6, 2010

I have recently bought a new laptop, installed my first linux OS on it (Ubuntu 9.10) and an external hard drive with 500GB on it for backup. For the first few days my external hard drive was working fine, but then eventually it wouldn't let me copy/move/delete stuff to and from it. So I kept trying to change the permissions but it wouldn't let me.

I figured this would be a very very common problem, so I looked up some forums to try out the methods but they didn't work. So I thought I would ask you guys for help because I am pleased with the support. I wouldn't think this would be a hard problem to solve.

View 9 Replies View Related

Ubuntu Security :: External Hard Drive Permission Denied?

Oct 26, 2010

I have an external hard drive that has all of my Apple Powerbook G4 files on it. I plugged in my "Journal Extended" external hard drive into my new HP laptop with Ubuntu 10.10 on it.

All of my files are on the hard drive still, however lots of them have a little X on the folders and when I try to open them it tells me I don't have permission? How can I force the permission for everything on my external? It's my own files and I can't even access them lol.

View 7 Replies View Related

Ubuntu Installation :: 11.04 Permission Denied Executing Over NFS?

Jul 20, 2011

We've run into an interesting issue in our environment:

If user joe1 has an executable that is NFS mounted, owned by him and permissions are set such:

--x--x--x a.out

he can't run it:

./a.out: Permission denied.

if he moves it to the local machine, say /tmp, it works fine with the same permissions.

joe can execute the file if he changes the permissions to r-x--x--x

this behavior seems to exist on the 11.04 clients, but not the 10.04 clients.

View 1 Replies View Related

Ubuntu :: Permission Denied For Executing Files On The External Storage?

Jan 24, 2010

I have a dual boot Dell Studio laptop with Windows (VISTA) and Ubuntu (9.0.4) installed on it. I have recently installed Ubuntu to make it a dual boot. Before that I was using LiveUSB Ubuntu image for six months (without any problems).

During the installation of Ubuntu, I created a Linux partition of 2GB for Ubuntu installation (assuming that it was running successfully on my 2GB USB drive). All of my other work (e.g. documents/programming projects etc.) are stored on the Windows partition (which is loaded during the boot time automatically). The problem is that I get a "permission denied" error while running any executable file on the Windows partition. But if I copy the same executable on the Linux partition, everything works perfect. Am I missing something here?

I have verified that the executable have necessary execute permissions.

View 4 Replies View Related

Ubuntu Servers :: Root Permission Denied Errors When Using Apt

May 6, 2010

Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.

error

Code:

# sudo apt-get install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 4 Replies View Related

Software :: Bacula - RHEL6 - Permission Denied Errors

Feb 24, 2011

OS = RHEL6 64 bit
Bacula version - Version: 5.0.3
Clean build from tarball
DB = Postgresql

Short version = Installed and configured bacula from scratch. All bacula daemons are running, bconsole responds and let's me run manual jobs. I'm testing the new install by trying to backup my backup server (minus the raid storage area) and I keep getting permission denied on system, files. I know they are owned by root but I need to be able to back them up regardless. Here's what I'm seeing:

[Code].....

Now I know I've done this before back in bacula version 2 something but I'm missing something here and my brain is shot from configuring this thing to this point. I'm on the home stretch and need advice on where to look next. Once I can successfully backup the backup server, then I can move on to my main server, my winblows systems, and then my Macs.

View 3 Replies View Related

Ubuntu :: Transmission Has Started Getting Permission Denied Errors When Saving New Torrents

Jan 16, 2010

Transmission has started giving me errors when I download a new torrent file. It has stopped being able to create the new file (ie touch) to begin the download. Error: Permission denied (/path/to/specific/file/in/new.torrent) Old torrents are still running to the same drive location. No permissions have changed.

View 9 Replies View Related

CentOS 5 :: Crashing And What Appears To Be Hard Drive Errors / Bad Hard Drive?

Mar 21, 2009

Sometimes when I do anything write heavy such as transferring backup or downloading large files from the net, the machine crashes almost completely.

View 8 Replies View Related

Ubuntu Installation :: Cannot Create Startup Usb-flash Drive - Permission Denied

Jan 7, 2011

An uncaught exception was raised: [Errno 13] Permission denied: '/media/e6f6ac46-4bfc-487b-9c81-aab706ead9e3/boot'

The above is the error message I get when I try to create an usb-flash boot drive. I downloaded the iso for Mint10 and use the "create startup disk" program to create the boot drive. I can see both the iso and the flash drive within the program, but when I click on "create disk" I get the above error message?

View 7 Replies View Related

Fedora :: Cron Backup Permission Denied On External Drive?

Aug 28, 2010

I have a cron backup scheme in which I rsync, then tar, then copy files on my internal hard drives to an external (USB) drive. When it works, it works. But I often get a "Permission Denied" message for all of these tasks. how the external drive is auto-mounted so I edited the etc/fstab so that the owner of the cron job is also the owner of the external drive (I think. Unfortunately, I'm not at that machine right now (it's at work), I can't give the exact fstab line (I will post it as an update to this thread next time I am at the machine).) BUT, I still get times when the cron backup runs fine and other times I get the Permission Denied. This is a shared machine that is dual-booted, so what I *think* is going on is that when the machine is rebooted to Fedora, but nobody logs in, I get a Permission Denied for the cron backup. It seems like on days when someone has logged in as the main user and left without logging out that the cron backup runs fine.

View 8 Replies View Related

General :: CP Read Permission Denied - Cannot Copy Files From Pen Drive

Sep 23, 2009

I can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.

cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

View 3 Replies View Related

Ubuntu :: Permission Denied When Trying To Append To File / Fix It?

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

Ubuntu :: Error Moving File: Permission Denied

Dec 4, 2010

Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is

Code:

There was an error moving the file into /usr/share/projectM/presets.
Error moving file: Permission denied

I am logged in as administrator, why can't I move these files?

View 7 Replies View Related

Ubuntu :: Permission Denied While Creating Output File

Jun 3, 2011

I tried to run this: ls * -lag > test1.txt
And it gives me a 'Permission denied' for text1.txt (a new file to be created.)

Now I have admin privileges (in fact I'm the only one set up on it) and I can't figure out why I'm getting this 'Permission denied'. Do I have to create the file first and chmod so I can read/write/delete the file?

View 4 Replies View Related

Networking :: SSH - SCP Permission Denied (File Not Exist)

Oct 13, 2009

using a terminal
logged into userMan remotely

[code]
scp /file.txt xxx.xxx.xx:/home/userMan/
[code]

Is the syntax above correct?
I'm trying to copy /file.txt from local machine, to server with userMan
error: /file.txt doesn't exist

View 8 Replies View Related

General :: Permission Denied While Trying To Put File Using TFTP

Jan 6, 2011

I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my

/etc/xinetd.d/tftp file for host2
service tftp {
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
#disable = yes
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
And permissions on /tftpboot are 777
[root@LinuxServer /]# ls -ld /tftpboot/
drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/
[root@LinuxServer /]# ls -l /tftpboot/
total 16
-rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test
-rwxrwxrwx 1 root root 12 Jan 5 06:02 test2

And the command which I am using is :
[root@LinuxServer /]# tftp localhost -c put new_test
Error code 0: Permission denied
And ya here is /etc/sysconfig/selinux file is as under :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=permissive
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

View 3 Replies View Related

Ubuntu :: Cannot Move Channel Config File - Permission Denied

Feb 19, 2010

I made a new channels.conf file, but when I try to move it to /usr/local/etc it says permission denied, I need the config to watch digi-tv on ubuntu movie player.

View 3 Replies View Related

Ubuntu Servers :: Permission Denied Dumping Master File?

Mar 21, 2011

I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.

Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$

[code]....

View 1 Replies View Related

Ubuntu Servers :: Create A New File/dir - Get Permission Denied Message

Apr 22, 2011

I am in the www-data group...

Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...

Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html

I assumed that means that the users in the www-data group can read, write and execute within this folder?

But when I try to create a new file/dir I get permission denied message.

I'm having fun messing around with my new LAMP server, but this problem is annoying me now .

(Oh and the index.html file was created by root, it's a blank file and can be deleted)

View 1 Replies View Related

General :: Cannot Copy File Even As Root (Permission Denied)

Jan 2, 2011

I am attempting to make a backup copy of a file, but every time I try to copy the file, I get a "permission denied error -- even when running as root. The file is on a volume mounted as /media/Data . No problems reading/writing other files on the volume.

Here is the info on the file:
-rw-------. 1 root MailServer.img

I've tried chown but get the permission denied as well. This is a virtual machine image that runs fine, but even with the VM completely shut down, I get the same error.

View 10 Replies View Related

General :: Trying Sudo MV Command On File - Permission Denied

Jul 17, 2010

If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions. Somehow a slew of files on my system are now showing this way. This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.

Potential Source ->
sudo rsync -av --delete --rsh=ssh joe@192.168.1.4:/media/Abyss/Memories/ /home/joe/Pictures/

Type of issue ->
mv: cannot remove `100_2259.jpg': Permission denied

joe@Tux-Box:/media/Abyss/Memories/2009/3-09$ stat 100_2259.jpg
File: `100_2259.jpg'
Size: 243012 Blocks: 480 IO Block: 4096 regular file
Device: 811h/2065dInode: 1312030 Links: 1
Access: (0777/-rwxrwxrwx) Uid: (1000/joe) Gid: (1000/joe)
Access: 2010-07-17 11:41:26.708020712 -0400
Modify: 2009-12-13 21:49:59.501938000 -0500
Change: 2009-12-24 05:54:02.854309200 -0500

View 7 Replies View Related

Programming :: CSH Permission Denied When Accessing Local File

Mar 9, 2011

I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script

Code:
#!/bin/csh
echo Enter a file name
$< = FILE ##Name of file
echo enter a size (in kilobytes) to monitor
SIZETOMON = $< ##Size value that's input by user
du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor
while (1)
if $SIZE > $SIZETOMON then
echo ALERT: File size is greater than $SIZETOMON
end

And here's the output
Code:
/home/lucer/foo.txt: Permission denied.
Badly placed ()'s.

I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.

View 14 Replies View Related

Ubuntu :: Encountered Permission Denied When To Install The Openscientist Source File

Jan 2, 2010

My linux is Kubuntu 9.04, I encountered Permission denied problem when I wanted to install the openscientist source file (osc_batch_source_16.9) in the following order.

1) cd OpenScientist/16.9/osc_batch/16.9/obuild
2) source setup.sh
3) ./sh/build in this step Permission denied message appeared.

View 1 Replies View Related

Ubuntu Installation :: Etter.dns - Change The File And Try To Save - Permission Denied

Apr 18, 2010

I'm trying to configure my /usr/share/ettercap/etter.dns for dns spoofing with ettercap. but when I change the file and try to save it ubuntu says permision deneight Even when I try doing this from the terminal with sudo. It seems there is know way to change the file.

View 4 Replies View Related

Red Hat / Fedora :: 550 Permission Denied Error Message (Cannot Upload File)

Jun 1, 2011

I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.

ftp config file
12 anonymous_enable=YES
15 local_enable=YES
27 anon_upload_enable=YES

View 3 Replies View Related

General :: Can't Delete File (rm: Cannot Remove `nagios': Permission Denied)?

Jul 11, 2010

Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied

[code]....

View 2 Replies View Related







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