With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?
I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.
Code: #telnet localhost 80 GET /1.html <html> </html> but from any other computer.
Code: ..... But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ，it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
creating a new website project in the var/www folder. I open jedit and try to save a folder or file inside var/www using jedt and it refuses to let me create or save anythink in the var/www directory.
I have used the terminal to create a new folder and file inside the var/www directory and when i open the file with jedit or gedit and write some code into it it wont save the code either. I am used to just creating a new directory and saving files into it with ease using windows so this is puzzling me a little. I also installed lamp server through the terminal and the phpmyadmin folder installed somewhere different from the var/www file.
I am running the new Natty install of Ubuntu. I always seem to have this particular problem, particularly with any ubuntu/kubuntu installs, but not other distros.
Basically, I'm trying to run a program -- a text-based game server. The server needs to be able to create new folders and write and delete files within its own directories in order to work.
However, no matter what I try to set in permissions, the program always spits out errors saying it was denied. I have set the directories so that any user/program can write/delete in them, and it still doesn't work.
I have created a user account on a ubuntu workstation. I log into the terminal as this new user and when i try to create a file i get that permission is denied. I would like to create a file such that this new user and other members of a group can access it.
Code: include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.
I need 2 Linux users to share a folder. Within this folder, users should always be able to create files and sub-folders and write into any sub-folder (whether they own it or not). However, they should only be able to edit the files they actually own.
I am trying to install the Epson Stylus SX115 printer/scanner. I have downloaded the driver since opensuse11.2 couldn't auto install it. I log in as root and execute the installer but it cant create files or folders. Example(dont know how to copy from the pips window):
Install pips-snx110_3.7.0-2_i386.deb. () cp: cannot create regular file `/usr/local/EPAva/printer/snx110/uninstall-snx110.sh': No such file or directory chmod: cannot access `/usr/bla bla bla bla bla bla bla Startup ekpd-tool... installation is complete... (yeah right^^)
1- I've set up 3 virtual users,one of them is a system one (with a different password) and writes on his own home folder. With this one I haven't found any problems yet, but with the other 2 users I can't access files/folders created by them. It's a permissions problem for sure, but I'm not sure how to correct it.With these users I can upload files, create files and create folders. The problem is I can't access what I create (I can't enter a folder I created but it is there and I can upload files into it).
2- Whenever I turn on ssl_enable=YES I can't access the server (even from the server itself when I connect to localhost, It's a regular Ubuntu installation).Here's the config file for the users:
I recently upgraded from FC12 to FC14 due to errors using yum and rpm. I keep running into mirror sites with RPM files that don't install. These site have what appear to be valid RPM files, but if I use wget to retrieve the file and run "file" on it, it turns out to be an HTML file. I understand the fact that if a file is corrupted, it won't install, but I can open these "RPM" files using Mozilla after changing the extension from RPM to HTML. When I open the new HTML file, I'm prompted by the browser to open or save the RPM file. If I save the RPM file pointed to by the HTML file, I can download and install it using rpm -ivvh unless a dependency check fails. how does anyone install using yum if the package is an HTML file with an RPM extension. Here is a link as an example:
If I use wget on this file and then run "file" on it, here is the output:
file openoffice.org-calc-core-3.3.0-20.2.fc14.i686.rpm openoffice.org-calc-core-3.3.0-20.2.fc14.i686.rpm: HTML document text
If I change the extension of this file to HTML and open it with my browser, I am prompted to download the RPM file which turns out to be a true RPM v3.0 file. Is anyone else having this problem or can anyone point me in the right direction to download the correct RPM file. I am running behind a proxy server and have installed cntlm, configured wgetrc, yum.conf and .curlrc to use the proxy server. I am able to download and install most of the simpler applications where the dependencies are either installed or non required.
I need to buy a new windows now, so before i do buy, Do you guys recomened me to move to fedora? is it better? is it easy? can i chat and use the internet and have my pc fine and stable with it? will my data on portable HD be working again?i am now downloading fedore 11 i386 DVD, is thats the right one for me since there are many types? i have a good PC Dell XPS M1530If yes, where can i dins a user guide or fedore on basic things as how to install programs on it and how to know the terms and names in it and how to creat folders and soo on.
I just set up an VPS with ubuntu. I made a user1 and gave it ownership
Code: chown -R user1 /home/www
This user also have been given all the root privileges (I know it is not recommended!)
The problem is that each time I make new site, and user1 wants to upload (through ftp) files to /home/www/newsite I need to redo the the above command in order to be enable user1 to upload. Not only this, I need to rework permissions (744 for folders and 644 for files), otherwise the newsite throws permission errors message.
Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.
EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?
I've managed to setup Ubuntu Server 9.10, and created folders/files toview/edit/execute with Windows and Mac.
Now here is my dilemma, this is for a home server, and I will have 4 users(1 for myself, one with "admin" rights, my fiance(mac user), media pc, and a "guest" account for the computer or 2 that are out in the public(they don't need access to my taxes ).
I'd like to have it so that on my laptop, I can access the whole server, but some files/folders would even need me to put in a password. I want to do this because my fiance gets delete happy and deletes things, so if she goes on my computer she won't delete important info. I'd like her to have access to music, photos, and videos, as well as her having her own folder that she can treat as her hard drive.
The question is, do I need to setup a domain for this, or can I get away with a workgroup?
I'm looking for a Syncronizacion Softwares (running as a daemon) to do a unidirectional syncronization of some files/folders from a lot of servers to one central server.As there are a lot of servers i want a software that only needs to be installed on the central server and pulls the files/folders from the other servers.rsync and unison need to be installed on both machines and syncronize the files/folder by sending them from al the servers to the central server(its no the central server the one who pulls the files/folder from the other servers), so they dont work for what i want.
Will unzipping always append files if the directories already exist? What about tar?
I unzipped an archive the archive had 3 folders and dozens of subfolders within those. app, skin, js
The folder I unzipped it to also already had those 3 folders as well as many child folders etc.
My website is still working so I'm just wondering. Is this safe or is there anything I should worry about. The other option was to manually upload each file manually that is in those 3 folders and the dozens of sub folders.
I'm setting up my fedora 10 server. I am currently working on samba. I have added users and created their home directories with their own html directories. I have changed their html directories to 777. However, it appears to be read-only since I cannot create files or folders within it. Can anyone please give me some ideas as to what may be causing this? Probably some extra configurations I may have overlooked? Any help would be kindly appreciated. I also created a general wshare (writable share) directory for all users within home directory but I am encountering the same problem and cannot write to it.
network with a laptop with windows 7, a wireless all-in-one dcp-585cw, eminent em7075-dts. it's possible to create shared folders in windows, in order to make them accesble for other pc's, devices, such as the eminent em7075-dts multimedia player.
when i start windows mediaplayer ( a requirement), i can browse over my pc when i am on the interface of the em7075 ( what you see on tv when go to the hdmi channell.) in other words, i have the option to play / stream a movie from my pc, over the network to the em7075.
I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.
My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.
DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.
The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.
I am new to Linux. I have a new ntfs usb external drive. I have attached to the Linux server but can't locate it. I would like to 1. mount it. 2. format to Linux file system 3. and then create share folders with passwords using samba.