General :: File Still Unwriteable In /var/www/html After The Chmod Command

Jun 17, 2011

I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod 777 xxx has been tried to make it work, but the error remains when I opened the applications again.

To be specific, I want to install phpFreeChat on my system, so I put those files in the /var/www/html/freechat directory, cd there and typed chmod 777 data/private, chmod 777 data/public on bash. Here's the result of list -al data:

drwxr-xr-x. 4 root root 4096 Jun 17 15:07 .
drwxr-xr-x. 13 root root 4096 Jun 17 15:22 ..
drwxrwxrwx. 2 root root 4096 Jun 17 15:07 private
drwxrwxrwx. 3 root root 4096 Jun 17 15:07 public

These all seemed all right to me, until I typed http://localhost/freechat in my browser. Here's the result:

phpFreeChat cannot be initialized,
please correct these errors:
/var/www/html/freechat/src/../data/private
is not writeable

[code]....

View 3 Replies


ADVERTISEMENT

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

Fedora :: Chmod Command To Install VMware Bundle File?

May 9, 2011

I was trying to install vmware.bundle file, and found a terminal command that helped me install the program.

su
chmod +x VM*.bundle
./VM*.bundle

I was just curious what the command chmod was for? Just trying to understand the terminal a little better.

View 1 Replies View Related

General :: How To Execute Permission To Chmod Command

Apr 14, 2011

How can I give execute permission to chmod command from run level 3.Because in GUI mode we have the execute option in the properties of file. E.g. I gave following command
chmod -x chomod
After that I want to give the execute permission (x) to chmod command again but how from command prompt?

View 5 Replies View Related

Ubuntu :: Convert An RSS Format File To HTML Using Command Line Tools?

Feb 14, 2010

I'd like to find a way of

1) capturing an RDF formatted RSS feed as a file on my computer

2) converting the result to HTML using local command line tools

I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.

View 7 Replies View Related

General :: File Permissions Not Set Through Chmod?

Jan 4, 2011

I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.

View 5 Replies View Related

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

Jul 17, 2010

I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.

-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix

[code]....

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

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Renaming File Permission Chmod?

Apr 11, 2011

that works to disallow non-owners from renaming the file, but what I wouldlike to do is disallow EVERYONE ( including the owner of the file ) fromediting, moving, or changing the filename once it is created. the only personwho should be able to make those changes is a special user.

View 13 Replies View Related

General :: Finding A Command Line Html Reader?

Dec 17, 2010

Kernel 2.6.21.5, Slackware 12.0 A command line html reader, or a conversion tool from html to text is what I would like to know if any of you guys knows. It has not to do a perfect job. And it would be nice if it is a native unix/linux program.

View 5 Replies View Related

General :: File-permissions On Read-only Media: Allowing For Access Without Chmod?

Mar 14, 2010

I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.

I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.

View 2 Replies View Related

General :: Wget Command - Download Only Html From The Url And Save It In A Directory

Jul 6, 2011

What is the Wget command to perform the following:

download only html from the url and save it in a directory

other file extentions like.doc,.xls etc should be excluded automatically

View 4 Replies View Related

General :: Convert A Html File Into A Text File?

Mar 8, 2010

i'm trying to convert a html file into a text file when i simply run "html2text <filename>" the output displayed is the way we want but when i redirect the same using "-o" or ">>" the file is having extra characters in it. i even tried -ascii,but no much use.

View 4 Replies View Related

General :: Change The Index.html File?

Jul 1, 2010

I just installed linux. How can I change the index.html file?

my dir is var/www/index.html

it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)

View 7 Replies View Related

General :: Viewing HTML File In Network?

Feb 19, 2010

I have indexnew.html file in /var/www/html. I have to view this file in the browser within the network and without using Apache server. Because, my Apache server gets the request to my application. I used http://localhost/indexnew.html to open the file, but it gets to my application.

View 5 Replies View Related

Ubuntu :: Chmod Command For Installing HP All In One Printer

Jan 6, 2010

I'm such a newbie when it comes to Ubuntu, or any Linux varient, period. I was trying to install a driver for an HP All-in-One Printer and was trying all kinds of commands from different Google searches... still unsuccessful in the installation. I downloaded the file to my desktop, but after using a Chmod command someone mentioned, I now have a folder on my desktop named:

hplip-3.9.12
i right-click
select
properties

Basic Tab
Type:folder (inode/directory
Contents:unreadable
Location:/home/mesk/Desktop

Permissions Tab
Owner:root
Group:root

"You are not the owner so you cannot change these permissions". The folder's icon on my desktop has a red box with white circle on the middle right side and a lock symbol above that. I'm the only user so I don't get why the permissions are protected from me, how do i undo this?

View 6 Replies View Related

Ubuntu :: Permsissions Not Set After Issuing Chmod Command

Jun 15, 2011

Have a look at the image. i hav two users ,one is apoorv(administrator) and other is others(ordinary user). i want to restrict the ordinary user from accessing the files directory as shown in picture. so i tried the chmod command with o-rw option. but its not working ..i hav enabled auto mount for all partitions at boot time.

View 4 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 :: HTML File Server Setup Using Ubuntu

Dec 9, 2010

I'm building a file server using Ubuntu. I want to setup an HTML based file upload/download system where I can create accounts for a few users and allow each user access certain folders. So that the user would open it like a webpage using a web browser and then uploads and downloads files, not needing special setup for the computer. Is there a ready made solution for that purpose? Will I have to code it?

View 1 Replies View Related

General :: Counting Valid Paragraphs From A Html File?

Mar 28, 2010

I just wrote an html file, but somewhere on the write I lost count of the paragraphs.

In an html file paragaphs starts with <p> and ends with </p>

What I want to know is how to find the valid paragraph.

I used grep '<p>' file_name | grep -wc '</p>' . I dont know if this works.

View 7 Replies View Related

Ubuntu :: Script Syntax - Chmod Command Not Found

Jan 20, 2011

I am just starting to learn to script and I need to know what this doesn't work, here's the error I get:
"chmod: command not found"
The error goes away when I delete the line with "dirname $NAME" in it.

#!/bin/sh
echo "enter file name with extension and path"
read NAME
FULLPATH=`dirname $NAME`
OPENFILE="open "$NAME
OPENPATH="open "$FULLPATH
echo $OPENFILE > /Users/admin/Desktop/tmpLink
echo $OPENPATH >> /Users/admin/Desktop/tmpLink
chmond +x /Users/admin/Desktop/tmpLink

View 2 Replies View Related

CentOS 5 :: /var/tmp/rpm-tmp.TdoItX: Line 7: Chmod: Command Not Found

Jul 7, 2011

I've just tried to create my first own live-cd using the instructions here: [URL] With the minimal kickstart I get a weird problem though:

...
Installing: libselinux ##################### [ 81/114]
Installing: psmisc ##################### [ 82/114]
Installing: MAKEDEV ##################### [ 83/114]

[code]....

Notice that "chmod" and "touch" are part of the package coreutils which gets installed only after these commands are used. I'm seeing a similar problem with selinux being referenced before the libselinux package is installed. I can boot the resulting image but after the kernel boots it panics because it cannot find /dev/root which might or might not have something to do with the errors above.

View 2 Replies View Related

General :: Finding (HTML) File Size To Display In Summary

Dec 7, 2009

Need to find the size of a file (html), and display it in a summary file. (Have tried du, ls, size, but none of these work).

View 6 Replies View Related

Fedora Networking :: Error Unwriteable When Install Phpbb

Jul 22, 2011

I try to install phpbb on localhost but not program the following error message:

cache /: Found, Unwritable
files /: Found, Unwritable
store /: Found, Unwritable
config.php: Found, Unwritable
images / avatars / upload /: Found, Unwritable

Although I did chmod 777 for all.

View 2 Replies View Related

Red Hat / Fedora :: Chmod Command To Run To Restore The System To Its Original State?

Jun 15, 2011

we have a customer that ran a sudo chmod +x -R * command on his / filesystem by mistake and now the machine cannot be accessed on the network Has anyone any idea what chmod command to run to restore the system to its original state ?

View 1 Replies View Related

General :: Installing .gz File..: "make: Error 127 Chmod 755 "?

Oct 10, 2010

So I am new to linux and computing in general:I am installing curphoo ( a yahoo chat client). The README file contains the following text:

Code:
You need a Python 2.4 series interpretter starting with Curphoo 0.4.0.
Starting with 0.4.0, Curphoo uses a purely Python implementation of

[code]....

View 14 Replies View Related

General :: Shell Script Which Will Search And Remove A Javascript From All Htm, Html And Php File?

Feb 21, 2011

I need a shell script which will search and remove a javascript from all htm, html and php file.

Code:
<script type="text/javascript"> if (navigator.cookieEnabled) {var user = getCookie("seostop");if (user !=1){winchristop();setCookie("seostop", "1", 7,

[code]....

View 14 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

Ubuntu Servers :: Vsftpd Chroot, Creates 550 Error On CHMOD Command?

Jul 14, 2010

I've been searching the web, without finding any sollution to my problem.vsFTPd is acting really weird. I've never seen this problem before, and I've been using vsftpd for some years nowWell.. The thing is, I've made a user that chroots to the folder /var/www on my server. And when I then try to chmod the file /var/www/htdocs/testsite/index.html through my ftp-client, I only get the error "550 SITE CHMOD command failed.", and when I then check in my /var/log/vsftpd.log it says

Code:
FAIL CHMOD: Client "192.168.50.58", "/htdocs/testsite/index.html 777"
Which I think would mean that it tries to chmod the file "/htdocs/testsite/index.html" instead of chmod the

[code]....

View 7 Replies View Related







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