Fedora :: PHP - Fopen() - Permission Denied - Even Though Chmod 755?

Feb 25, 2009

I have stipped down the test to the basics and still can't get it to work.I have a file called test.php stored in /usr/share/data/audio (an aliased directory in apache). This file simply contains the code...

Code:
<?php
fopen('play.xml', 'w') or die("can't open file");;

[code]...

View 3 Replies


ADVERTISEMENT

Red Hat / Fedora :: Re-apply Chmod +r Doesn't Works - Permission Denied ?

Dec 23, 2010

I've a pb on a directory...Same pb with others users... fsck -y says fs is clean...Re-apply chmod +r doesn't works...Data are on local HD (not SAN)

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

Security :: Permission Denied When Trying To Use The Chmod Command?

May 4, 2011

nfs mounted directory which is mounted rw. I and everyone else are members of a common group. We all have write permissions in the tree: All files and directories in the tree are in the common group. All directories are set to 775 and all files are set to 664 or 775, as appropriate.If a file is owned by someone else, even though the file and the directory are group writable, I get permission denied when I try to chmod the file.

Here's the command synopsis:
997 > ls -l portparms.txt
-rwxrw-r--. 1 bdaugher fc 4091 Sep 5 2003 portparms.txt

[code]...

View 2 Replies View Related

General :: Freecom FSG3 - SU Permission Denied When Attempting Chmod Or Chown?

Apr 27, 2010

I am desperately trying to recover two folders from a Freecom FSG 3 NAS. As far as I am aware it is running Linux 2.6 based on Snapgear. After working through the hardwares' recovery procedure a number of times, the state of the device appears to get worse and worse. So I have attempted to rescue the files by using a program called Putty to access the device over SSH.When I access the device using Putty I login as admin. The folders I need to recover are located in the home folder. Listing the contents of the directory I get...

/home $ ls -la
ls: ./.twonkymedia: Permission denied
ls: ./Sarah: Permission denied

[code]....

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

Software :: Permission Denied On Fedora 12?

Feb 24, 2010

When I try to run .bin files for example when I try to install adobe air for linux, I get this error even if I am logged in as SU.Quote:

[root@localhost Downloads]# ./AdobeAIRInstaller.bin
bash: ./AdobeAIRInstaller.bin: Permission denied

View 5 Replies View Related

Fedora :: Permission Denied While Using MAKE Command?

Dec 13, 2009

i am getting error that Permission denied in the middle of execution of MAKE command, after i successfully ran ./configure.

View 1 Replies View Related

Fedora :: Skins In Audacious - Permission Denied

Jul 20, 2010

-xmms does support the "Expensive Hi Fi", wich as i told i've allreday installed and works.

-Xmms doesn't support the "Analog Vu Meter Plugin" for that skin, wich i don't know were to download(i only am able to see the images of it at [url]?content=49220"-3rd picture bellow, left side-the "Sony Vu's").

-The http page refers the skins and the plugin to KDE graphic environment, i'm using GNOME, and i'm not shure that this may make any difference.

-After the exausting net reading, i think...?, that Audacious does support the "Expensive Hi Fi" and the "Analog Vu Meter Plugin".

As i told, i don't give up that easy, and Audacious seems to be some upgrade or evolution of Xmms, and it as that "retro classic" look that i like and can be personalized like Xmms.

So, i've allready installed Audacios, with all the necessary codecs and libraries, and it's working so well as Xmms worked.

But know i'm having another problem :

-To personalize skins in Audacious(...more exausting net reading...), the operation should be so easy as:

-For any skin that we want(*.wal;*.wsz or compressed one's...), download it and copy it into:/users/share/audacious/Skins, wich i've allready tried(such as skins pasted into .xmms), but i get this error message:"Permission denied"!

View 4 Replies View Related

Fedora :: Could Not Exec /bin/bash Permission Denied?

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

Fedora Networking :: Ping: Sendto Permission Denied

Jul 22, 2010

I run a small home network with a wireless network using Apple airport wireless router. I have two macs and one Linux box (Fedora 13). Everything worked until about a week ago. Now the two macs can communicate with each other, and one of the macs can communicate with the Linux box, but the other can't, which is a bummer because it is a print server.

Pinging from the mac to the linux box gives the error message:

ping: sendto permission denied

Ping from the Linux box to the mac just hangs:

[/home/pjs] # ping 10.0.1.5
PING 10.0.1.5 (10.0.1.5) 56(84) bytes of data.

Firewalls on both boxes have been disabled. The Mac was running Little Snitch, but it has been uninstalled.

I have looked for messages from /var/log/message using tail -f and there are none when I ping either way.

ifconfig and /etc hosts, hosts.allow and hosts.deny look normal.

View 2 Replies View Related

Fedora :: KVM Could Not Open Disk Image - Permission Denied

Dec 24, 2010

I'm getting error from KVM when i try to create new machine. I have install group Virtualization. From gui virtual-manager (after being asked for root passwd) tried to create new machine. When pressed on 'Finish' got this 'Permission denied' error:
Code:
Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1567, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1023, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1088, in _do_install "install")
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1059, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied

It's running as a root, what permissions we are talking about here? I'm running F14, kernel 2.6.35.10-72.fc14.x86_64, libvirtd 0.8.3

View 4 Replies View Related

Fedora Servers :: Can't (su - Vmail) Permission Denied [Courier Set Up]?

Jan 13, 2011

I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.

Code:
groupadd -g 5000 vmail
useradd -g vmail -u 5000 vmail -d /home/vmail -m

[code]....

View 1 Replies View Related

Fedora Networking :: Ssh Error Message - Permission Denied

Feb 8, 2011

I've just set up keys using

[Code]...

View 5 Replies View Related

Fedora :: Error : Permission Denied, Please Try Again. My Nssswitch.conf Is

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

Fedora :: Install Matlab2011 In 15 - Permission Denied Finished

Sep 1, 2011

I wanted to install Matlab2011 in fedora15 and i receive this following: Preparing installation files Installing ./install: line 589: /tmp/mathworks_2110/java/jre/glnxa64/jre/bin/java: Permission denied Finished. I think the problem was Java, but I updated java and still is not working.

View 1 Replies View Related

General :: Get Permission By Chmod?

Apr 5, 2011

how to get permission by chmod

View 8 Replies View Related

Fedora Security :: Error - Cannot Read /etc/shadow: Permission Denied

Jan 20, 2010

This is weird, today I updated my system and while trying to visudo from single user mode got

"cannot read /etc/shadow: Permission denied"

which kept me from doing anything until I switched to file permissions of 400 on shadow, then back. Is this being experienced by anyone else or just me? /etc/security/limits.conf doesn't seem like it wants to change in enforcing mode either and I can't find any alerts to provide clues on the situation.

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

Fedora :: Permission Denied - Cannot Run Install Script From Automounted CDROM?

Nov 10, 2010

I'm running Fedora 14, with a SATA interface CD/DVD drive and I'm attempting to run an installation script on a CD for an embedded Linux learning kit.Logged in as root (su), I receive:bash : /media/EmbeddedLinux/install_tools Permission DeniedI have searched and see similar situations on the web, but not exactly the same.I cannot resolve this issue using chmod, and find no relevant exec rights set in /etc/fstab.Using mount I find the (automounted) CD drive on /dev/sr0.I've searched quite a bit but never could find the thread that was supposedly listed in this forum.I understand that I should be able to copy the contents of the folder to my machine, then execute, but if possible I would prefer to address the real cause, not go around it.Also, where on earth will I find the location of whatever is affecting the ability to execute from an automounted media?

View 5 Replies View Related

Fedora Networking :: Permission Denied When Sending Packet Using DITG?

Mar 14, 2011

I'm implementing static IPv6 address on two Fedora 13 installed hosts. These two computers are connected using a switch between them and I use D-ITG to generate traffic in the network.I need to send packet from host1 to host2 using this command and I got permission denied

Code:
#./ITGSend -a 2001:db8:c003:111e::3 -T UDP -x recv_log_file -t 30000 -c 32
Connect error in createTransportChan(): Permission denied

[code]....

View 1 Replies View Related

Fedora Servers :: Mounting Samba Shares Permission Denied?

Jun 2, 2011

I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.

cat /etc/samba/smb.conf
[W$]
path = /Files/
valid users = admin

[Code]....

View 2 Replies View Related

Fedora :: Wireshark - Dumpcap Permission Denied Error Message

Jul 8, 2011

I am trying to use Wireshark and on startup the program pops up a window saying:
Couldn't run /usr/sbin/dumpcap in child process: Permission denied
Are you member of 'wireshark' group? Try running 'usermod -a -G wireshark <username>' as root.

I ran the usermod command to add my account in the group and checked it
Code:
less /etc/group
wireshark:x:490:myaccount
but the same error message pops up.

View 3 Replies View Related

Red Hat / Fedora :: Setup Iptables - IOError: [Errno 13] Permission Denied

May 26, 2011

I am trying to set up iptables, I get this error message and dont' know what to do.

[Code]...

EDIT. I did chmod 777 /etc/sysconfig/iptables.old and it still doesnt work

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

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

Fedora :: Libraries MATLAB Installation - Error While Loading - Permission Denied

Jan 18, 2011

I installed MATLAB R2009a in my laptop (Fedora 14 x86-64), the installation was succesful but when I run MATLAB (in a console), appears a message: error while loading shared libraries: libut.so: cannot enable executable stack as shared object requires: Permission denied

I find a "solution", execute in a terminal: execstack -c libut.so

I used several times with differents libraries that I needed, but I run MATLAB in a terminal, MATLAB starts in a terminal, only a prompt ">>" and nothing.

View 2 Replies View Related

Fedora :: Apache Install - Access Index.php On Localhost - Permission Denied

Jan 19, 2011

I've just upgraded my laptop to Fedora 14 and installed LAMP on it for a test environment. I've followed the official instructions to install but seem to have a problem that I didn't have on F13 or Opensuse. Each time I try to access index.php on localhost I get a permission denied message and an SElinux alert. I have tried 7 different solutions on various forums and just can't view anything in a browser.

/var/www/html has been set to chmod 777
/var/www/html/index.php has also been set to chmod 777

A standard user can definitely read and write to the above files/folder. Until I commented it out the Welcome/Test page was working perfectly.

View 5 Replies View Related

General :: Use Chmod To Change The File Permission?

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

Ubuntu :: When Create Chmod'd File With 000 Permission / What Happens?

Feb 10, 2010

What does chmod 000 do?when i create a chmod'd file with the 000 permission what happens?I tried creating a file with 000 permissions, and I was still able to read and write to it. So what what does chmod 000 actually do?

View 6 Replies View Related







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