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
ADVERTISEMENT
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
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
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
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
Jun 6, 2011
How do i find the file /etc/rsyslog.conf so i can modify it.
View 1 Replies
View Related
Aug 2, 2011
I had Fedora 8 installed in few clients and a server (same server for NFS and NIS), and NIS and NFS configured, and was working fine. Yesterday, I upgraded few client computers to Fedora 15 (server is still same), and configured NFS and NIS client. NFS is working fine, I can see home directories.
For NIS: ypwhich, ypcat passwd gives me correct uutput, ypbind is running. The problem is, I can't login to NIS client. The error is: Permission denied, please try again. My nssswitch.conf is
[Code]...
View 2 Replies
View Related
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
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
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
Jan 13, 2011
I am administoring a few websites and the latest website to be deployed has a few "unable to check htaccess file, ensure it is readable, referer: " errors in the apache-error log.
That is fine, becuase the directory doesnt contain a .htaccess file.
Is there a setting whereby I can turn off this error ?
I dont want to turn off checking for .htaccess files because some directorys have this file and use it.
View 2 Replies
View Related
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
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
Jul 11, 2010
Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied
[code]....
View 2 Replies
View Related
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
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
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
Jan 17, 2010
Quite a few times i have boot puppy linux live and have tried to copy file from the underlying NTFS windows HD only to get an error like permission denied when i try and copy a file to say a USB stick, i think some files copy but i seem to get permission errors with some files.
View 1 Replies
View Related
Apr 6, 2011
I have created a new file system (fuse) which works fine and is mounted in the local host. I want to be able to mount it from another host. I added it to /ect/exports: /mnt/ltfs *(rw,sync) And restarted nfs. Then from my client host I type:
mount -t nfs myHostName:/mnt/ltfs /mnt/data1
Where /mnt/ltfs is on my local host and /mnt/data1 is on the client host. Note that this is a "FUSE" file system so here is it's local "mount" output: ltfs on /mnt/ltfs type fuse (rw,nosuid,nodev,default_permissions,allow_other) Note thet this is of type "ltfs" but I am told that it should work like its a nfs. ltfs uses fuse under the covers.
View 1 Replies
View Related
Feb 22, 2011
I am having problems gaining access to the BackupPC admin web page. The error:
Quote:
[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 82.30.227.113] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured
Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.
View 3 Replies
View Related
Apr 16, 2011
I would like to change the dialogue that says "permission denied" when something has to be done as root or that user does not have permission to do something. Is this at all possible? (Also, not really sure which category this should be in, that's why it's here)
View 1 Replies
View Related
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
Oct 1, 2010
I installed dhcpd using:
Code:
Now when I try to run it, I get this weird error:
Code:
The error was:
I changed permissions to 777:
Code:
To no avail!
It's got something to do with AppArmor.
I don't think it is installed on this system:
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
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
Apr 24, 2011
If I am not the file' owner or root, can I use chmod to change the file permission?
Assume I have group/write access to the file, e.g. 775
View 2 Replies
View Related
Sep 15, 2010
My cd /boot/grub/ shows (required only file shown): -r--r--r-- grub.cfg
I tried to change the permission of this via, chmod u+w grub.cfg but the file permission did not change why??
How can I change the file permission of grub.cfg?
View 1 Replies
View Related
Jun 8, 2011
I have a c file, and I want to open it but not in the terminal. After changing the permission, I tried: vi, pico, ed and vim. But, all open it in the terminal. How can I change the permission of that file to be opened and edited not in the terminal? When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change). I need a permanent permission. Although, I command as a root.
View 7 Replies
View Related
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
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