Ubuntu :: Permission Denied - Fail At Sudo /usr/lib/nx/nxsetup - Install - Due To File Is Missing

Feb 28, 2011

I am installing ubuntu to amazon EC2 by following the steps at [url] The installation works fine.

Then I want to gain Remote Desktop Access to Ubuntu, so I follow [url]

However, fail at sudo /usr/lib/nx/nxsetup --install due to this file is missing.

I then use putty, navigate into /usr/lib/nx to run command below.

wget [url]

But, it always come out with permission denied issue

I also try to upload the .tar.gz file via winscp to any of the possible directories.

All fail with permission denied issue.

Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3

View 1 Replies


ADVERTISEMENT

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

General :: Change A File In Filestarter Using Sudo /etc/rsyslog.conf - Permission Denied

Aug 4, 2011

I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file

View 2 Replies View Related

Slackware :: Sudo: Can't Open /etc/sudoers: Permission Denied

Jun 10, 2011

After install TexLive, sudo stop working. If I run sudo:

Quote:

sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting

Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.

View 10 Replies View Related

Security :: Defaults For Sudo - Permission Denied And Script Fails

Mar 18, 2010

I have a CGI script that when called runs another script as a different user. Yet when the script does run I keep getting a permission denied in the logs and the script fails

In the sudoers file-
Defaults env_reset
www-data ALL=(charly) NOPASSWD=ALL

For the full question-
When looking at /etc/sudoers there is the defaults line that you can add things to. When doing a sudo -L so that I can see what I can put on that defaults line. Can an individual user have specific defaults? Ones that don't effect the rest of the people in /etc/sudoers?

View 1 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 :: "Permission Denied" For Sudo Operation / Why Is So?

Sep 30, 2010

A few days ago I tried to install a driver for a Brother printer (HL-5040) in terminal mode by issuing "sudo dpkg -i --force-all hl5040lpr-1.1.2-1.i386.deb" on my Ubuntu 9.10 PC.

During the process several error messages were displayed. All of them say "permission denied" to access a directory /etc/init.d/lpd. Consequently, the installation failed and Synaptic package manager does not work any more and becomes broken.

Questions: Why did I get "permission denied" as a su? How can I get around the problem so I can re-install the driver?

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

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

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

Ubuntu :: Bash Sudo Scripts Fail To Work After Install Of 10.04

Aug 4, 2010

I had some bash scripts on Ubuntu 09.10 (mint version) that fail to work on Ubuntu 10.04. The line that fails is the following:

Code: # cat file_with_my-password.txt > sudo -S something cat: invalid option -- 'S' Try `cat --help' for more information. In my case "something" mounts some filesystems (that fail to load from fstab - bios "fake" raid 10), but I get the same error for any sudo command. It is the same script that used to work under 09.04 :-/

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

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

General :: Permission Denied When Creating File (Input Document)

Jul 11, 2011

I am trying to create:

/etc/X11/Xsession.d/95xinput document
where
/etc/X11/Xsession.d is a folder.

So I enter the above commands:
cd /etc/X11/Xsession.d
nano 95xinput

I type my text and when I try to save it it says that permission is denied.

View 7 Replies View Related

General :: Using TCPDump To Read Test File - Permission Denied

Oct 21, 2010

Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user. Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.

View 4 Replies View Related

Server :: File Transfer From Fedora Desktop - Permission Denied

Nov 26, 2010

I have a ubuntu server 10.04 with LAMP installed. I also have ubuntu 10.10 on a laptop and can copy files to the server fine. To keep my website uptodate, I usually use Filezilla without any problems. I have just installed Fedora 14 on an old desktop and set up "my stall" ok. The problem is that I cannot copy any files from Ferdoa to the server due to:-

Response: 550 Permission denied.
Error: Critical file transfer error
I have tried to change the directory on the server "/var/www" using chmod -R 775* and chmod -R 777*, but it makes no difference, the file transfer still fails.

View 5 Replies View Related

Ubuntu :: Mount Dir Using Smbfs To Windows Share Can't Write To File Permission Denied?

Jun 19, 2010

Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.

View 4 Replies View Related

Ubuntu :: Permission Denied When Trying To Install Aurora

Apr 17, 2010

I'm trying to install the Aurora engine for themes on Ubuntu 9, and I'm pretty new at all this... so sorry if this error message is a little long... it goes through the installation, then it gives me an error message.

Here it is:

Now run make.

View 8 Replies View Related

Debian :: Cp: Cannot Create Regular File `/mnt/SwSetup/ComboFix.exe': Permission Denied

Aug 27, 2010

I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?

Code:

mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/
`Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe'
cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied
mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?

View 6 Replies View Related

Hardware :: Cannot Create Regular File `/mnt/kingston/linux_guide.pdf': Permission Denied

Dec 16, 2010

i installed Slackware 13.1 64 bits in a asus laptop and until now everything is running ok. But when i tried to mount a usb pendrive, i just can mount it as root;well, i thought there would be no problem, i will change permissions with chmod and everyone could access, read and write on it the command :

mount -t ntfs /dev/sdb1 /mnt/kingston

and making ls -l the result is :

drwx------ 1 root root 12288 Dec 8 17:20 kingston

so next i wrote (as root):

chmod 777 -R kingston

and the message was "Operation not supported" i tried also changing the ownership permission :

chown molei:users /kingston
drwxrwxrwx 1 molei users 12288 Dec 8 17:20 kingston

so, apparently i would have total access to the kingston directory; the problem is when i try to copy something to the kingston dir, an error msg. appears :

cp: cannot create regular file `/mnt/kingston/linux_guide.pdf': Permission denied

View 2 Replies View Related







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