Software :: Apache2 Module File System Permissions?

Feb 20, 2010

I'm doing a custom version of mod_musicindex, but can't get the cache to write like it's supposed to.example cache file: /tmp/testing/cacheNow, normally I think setting the dir testing and file cache to www-data:www-data would be enough. Permission denied. I tried 666 as well, figuring why not. Permission denied.777 works, but thats pretty far out there...Am I using the wrong user/group? I figured apache modules would run as apache.Do I need to use 777? 700 or 744 don't work, which is making me think it's not running as apache...

View 2 Replies


ADVERTISEMENT

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Debian :: Enable The Apache2 Module / A2enmod?

Feb 25, 2011

The default Server root of the apache2.conf is "etc/apache2". But the actual "It works!" file is in /var/www/apache2-default

I edit the apache2.conf file the Server root line then restart the scrip at /etc/init.d/apache2
But the webpage still point to "It works!"

Anyone have idea how to change the Document root?

View 3 Replies View Related

Software :: Iptables And Tc Permissions In Apache2?

Jul 26, 2010

I'm needing to allow apache2 to make modifications to iptables and tc based on my cgi scripts. How can I allow apache2 to interact with these and only these commands?

Additionally, I want apache to be able to read and write files to a specific folder on the disc; what permissions are required for this also? Currently I am getting this error when calling /sbin/iptables Insecure $ENV{PATH} while running with -T switch

View 2 Replies View Related

Ubuntu Servers :: Apache2 Userdir Module Page Not Found?

Jun 18, 2010

I just installed apache2 server on my ubuntu 10.04. It works fine (i get the "that works" page when i access to http://localost/ and get no errors or warnings when i start apache.However, the localhost/~florian returns a 404 not found.I've enabled the userdir module

Code:
a2enmod userdir
and restarted the apache server

[code]....

View 4 Replies View Related

Programming :: GNU Make - System Libraries And File Permissions

Jan 27, 2010

I am trying to compile a C++ source file into a static library using make with root privileges (i.e., using "sudo"). However, I "sometimes" get the following compilation error:

Code:
g++ -Wall -g -fPIC -W -c /home/project/ether/src/packet-ethernet.cc
ar -cvq libether.a /home/project/ether/src/packet-ethernet.o
ar: /home/project/ether/src/packet-ethernet.o: No such file or directory
make: *** [libether.a] Error 1

I checked /home/project/ether/src folder to see if packet-ethernet.o in fact does not exist, and saw that it is actually located there, but its owner is "root", which is different from the current user. If I change the owner of packet_ethernet.o from root to the current user using "chown" command and execute make again with sudo, everything seems to be fine.

It may be a coincidence that I recently migrated to 64-bit platform from 32-bit, and then installed libboost-filesystem1.40-dev. After that, I began to experience such errors. I have "never" come across such a compilation error before. Even though I completely removed libboost-filesystem1.40-dev afterwards to see if it causes the problem, nothing changed.

After migrating to 64-bit and installing libboost-filesystem1.40-dev, my application exhibited another "weird" behaviour such that it produced "hidden" files using mkdir() system call, which were previously created as regular ones on the filesystem. Can compiler options that I use cause such problems? Is it possible that libboost-filesystem1.40-dev overwrote some system libraries so that I am getting such errors ?

View 1 Replies View Related

Ubuntu Servers :: Vsftpd (+apache2) Permissions Configuration

Oct 13, 2010

how to configure vsftpd server, to enable users upluoad files with right permisions. I create user like this:

Code:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<newUser>.domain.com
a2ensite <newUser>.domain.com
/etc/init.d/apache2 restart

[Code].....

So, in summary, how to make ftp to create files with permisions e.g. +rwxrwxr-x or smth more clever..

View 4 Replies View Related

Security :: Track IPsec Module's Operations / Find Such A Log File - Entries In System?

Feb 25, 2009

How can I track IPsec module's operations? Can I find such a log file or entries in Linux?

View 1 Replies View Related

Fedora :: Weird Hard Drive / File System Permissions

Nov 29, 2009

I've been installing/tweaking F12, and I've found something that I can't say I've ever seen or expected to find before: the contents of my ~/Documents folder has lost its permissions and ownership info. I restored it from a backup last night/this morning, and I've rebooted a few times since then. Other folders from the backup are OK, just Documents.I don't know what my options are. I could try to blow it away and restore it, but that doesn't answer what caused it. If there's a "relabel" or something, that might help... though I've never had to do it before. Could it be that after these two-and-some-change years, my hard drive is giving out? Good thing I have a recent backup... but it'd be a shame to lose all my work getting F12 to work again.

View 4 Replies View Related

Ubuntu :: Assign Permissions On A Partition With Ntfs As The File System?

Apr 6, 2010

can assign permissions on a partition with ntfs as the file system. I am aware of editing fstab and setting some basic permissions. What I am clumsily dictating is can you edit permissions of individual folders for specific users in Linux. I have already tried chmod and such

etc something similar to this

Code:
[user@computername user]$ sudo chmod 600 directory

View 4 Replies View Related

Ubuntu Servers :: Default File Permissions For System Folders

May 5, 2010

I had a major raid event recently which caused my Ubuntu 9.04 server to recover part of its file journal on the system partition. This caused some of the file permissions to go all funny and I now need to change them manually.

What the file permissions should for the following folders:
/etc/
/home/
/lost+found/
/mnt/
/root/
/sbin/
/srv/
/tmp/

The server is running and I fixed the some of the ownership issues already. I use a basic LAMP setup with samba, and proftp.

View 2 Replies View Related

Software :: VFat File System - No Permissions To Delete Files

Feb 21, 2010

I have the cowon iAudio7 music player with vfat file system and increasingly running into permission problems when I try to delete files. Unsurprisingly I am now running out of space. I am figuring if I could somehow mount it onto a folder in my home partition I will have full permissions. The problem is the drives name which is exactly with space: So even if try to delete files in the terminal I don't know how to cd into:

Code:
/media/I AUDIO7
note the space between I & AUDIO7.

View 14 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

OpenSUSE Install :: Apache2::Request Module - Error "No Targets Specified And No Makefile Found"

Jun 14, 2010

I'm trying to install Apache2::Request module (from CPAN.org) and in shell there is such messages: I'm using openSUSE 11.1, Perl 5.8

[Code]...

View 2 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

OpenSUSE Install :: Module Apache2::Request To OS - Error "No Targets Specified And No Makefile Found - Stop"

Jun 19, 2010

I'm using openSUSE 11.1, KDE I'm trying to install the module Apache2::Request to my OS. After the gzip -dc libapreq2-2.12.tar.gz | tar -xof - I typed in Shell these (as shown in INSTALLATION document of module): perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs Then something goes wrong, make doesn't work saying: make: *** No targets specified and no makefile found. Stop..

I think the problem is in the command perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs in section .../path/to/apache2/bin/apxs . What does mean ./path/to/apache2/bin/apxs? Maybe I should write the path to apache2 which contains a file named apxs? I did not find such file apxs. My apache2 path is /etc/apache2, but there is no file named apxs... Result for perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs:

[Code]....

View 3 Replies View Related

Programming :: Load Fortran Module For Matio Libraries Using Gfortran - Can't Open Module File 'matio.mod' For Reading

Jun 27, 2010

I am interested in using fortran and an external library called matio used to save arrays to matlab .mat files. I have installed the matio and matio-dev packages from synaptics but i cannot compile a code receiving an error Code: christos@christos-laptop:~/Desktop$ gfortran -o test test.f90 -lmatio -lz test.f90:2.13: USE MATIO 1

Fatal Error: Can't open module file 'matio.mod' for reading at (1): No such file or directory How can i load a module in order to use it in fortran through the GCC compiler?

View 1 Replies View Related

General :: Failed To Load "canberra-gtk-module": Libcanberra-gtk-module No Such File Or Directory

Mar 25, 2011

i installed firefox 4 and removed the old 3.X version. did a general update that my computer showed me was available then i noticed the first problem. firefox 4 would not launch when i clicked it, it would only launch when i clicked the gnome 3 applications button and then clicked and dragged the firefox logo to the desktop, then it opened. the second problem i am now having which at the moment is more bothersome is that after i closed the lid to my laptop and opened it up again after a while and logged back in and noticed that the ENTIRE gnome 3 environment was gone. no panel no menu nothing just the desktop and a few desktop icons. i tried the command "yum install gnome-shell" but it just sed that gnome 2.31.5-7 .fc14.i686 was already installed so it wasnt gonna do anything, then i tried the "gnome-shell --replace" command and it just said

failed to load "canberra-gtk-module": libcanberra-gtk-module no such file or directory.

View 5 Replies View Related

Ubuntu Servers :: File Creation Error On Apache2 .cgi File?

Jan 14, 2011

I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted

63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main

[Code]...

View 4 Replies View Related

Ubuntu :: Remove Apache2 From Desktop System As If Never Installed?

Aug 4, 2010

I have apache2 on my system, and it stopped working since the router was messed with (not by me). I removed apache2 and deleted /etc/apache2, but if I install apache2 it doesn't bring the files back. How do I fix everything that I messed up so it's as if apache was never installed so I can install it again?

View 2 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Ubuntu Servers :: Apache2 - Password Protect Directories With System User

Apr 12, 2011

I want to password protect say a subdirectory, or a subdomain via vhost, with a username/password, but use the systems users and passwords as logins -> I want go avoid any and all .htaccess... as everyone should be doing anyway How would I go about doing this? I know my way around the apache configs fairly well, so I'm not a total newb -> I now I can use .useraccess and .pwaccess but that's flat file driven, not based off of the systems users/passwords.

View 1 Replies View Related

Red Hat / Fedora :: Sent The Apachectl File To Acapche2 Instead Of Apache2?

Jan 5, 2011

I am working on Apache2, and am up to the 'test' phase of the process. I accidental sent the apachectl file to acapche2 instead of apache2:

[rootlocalhost sbin]# mv apachectl /acpache2
I should have done: mv apachectl /usr/local/apache2/bin
That didn't happen..
I echoed ; echo ./apachectl
./apachectl

Sooo, I know its alive, just have no idea where, help? I need to get this file back to start the HTTP Sever.

View 4 Replies View Related

Server :: Cannot Access /var/log/apache2/*: No Such File Or Directory

Aug 24, 2009

I am trying to access log file which located in /etc/log/apache2. I could get into the directory using `su`. I was able to run ls command under the directory and everything was file. I could run a command,

ls -d /var/log/apache2/*

However after I switched to my account, I got an error. sudo ls -d /var/log/apache2/* ls: cannot access /var/log/apache2/*: No such file or directory

I want to use this command in a bash script to get a list of log files. Should I write the script as root and run it as root?

View 3 Replies View Related

Server :: SVN Passwd File On Debian 5.0.7 And Apache2

Dec 31, 2010

I have a Debian 5.0.7 installed to my server. I try to install Apache and SVN to this server. I use this tutorial: http://www.howtoforge.com/subversion...-ubuntu-server
But is unfortunately not working.

My apache virtual host configuration file is:

Code:

This passwd file containing 1 user:

Code:

The rights for the passwd file:

Code:

And apache2 is running like this:

Code:

And if I try to login to my page I got an "Internal Server Error" page.

And my error is in the apache log is this:

Code:

So I'm a little bit confused about it. The apache2 should have rights to open this file. I checked it, the file is exist and the apache2 is have rights for it. I don't understand it.

View 1 Replies View Related

Ubuntu Servers :: PHP/Apache2 Restricted In File Manipulation?

Aug 18, 2010

I have a LAMP server set up (under Ubuntu 10.04 64-bit), and have a PHP application running on the Apache2 server. I copied the "default" website setup, and created a new one with the root at "/home/kota/WebRoot/".

When running my PHP application though, I come across a major issue: The script doesn't seem to be able to modify any files that are currently on the system, or create new ones.

However, this limitation is restricted to when running through Apache2. In other words, if i run it by typing "php5 myapplication.php" from the terminal, it works without a flaw. This leads me to believe that there is a permissions issue, disallowing Apache2 to create and modify files anywhere on my system.

Although it shouldn't make much of a difference, here is the basic information that I feel I should provide:

Code:

View 2 Replies View Related

Software :: Apache2 - How To Disable File Browsing Using IP Address

Oct 3, 2010

Whenever I type in my IP address or local domain name in my browser (http://myipaddress), my entire directory tree shows up in the browser. Normally I would not mind this behavior but I am networking my main computer through a router and if anybody within the range of the router types in my IP address in their browser (using their computer), I think they too will be able to access every file on my computer. How do I disable this?

I am running Linux Mint 9 (based on Ubuntu Lucid) and Apache2. I would rather just be limited to using Nautilus to connect to the HTTP server using a password.

View 4 Replies View Related

Debian :: NTFS Backup - Create Ever Expanding (to 320Gb) TAR File That Will Retain All Original File Permissions

Sep 20, 2015

I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.

I do not want to reformat it from what it is, apparemtly NTFS.

Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.

View 5 Replies View Related

Ubuntu Servers :: Firefox Can't Open Php File From Apache2 On Localhost

Mar 31, 2010

I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...

I now get the error as below:

My userdir.conf is like this:

<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>

[Code]....

and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?

View 9 Replies View Related







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