473,386 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

folder and file permission !

Hi friends

I am not able to give permission to /var/www/html folder when I right click->properties it says you have no permission because you are not owner. I have put these commands but nothing works for me

use chmod 777 -R /var/www/html/projectDirectory

in nautilis it says "You are not the owner, so you cannot change the permissions"

I have logged in as root by su - then my password
but nothing goes well :S please help I am learning PHP !
Apr 27 '14 #1

✓ answered by Luuk

that's OK, because the result can be that you changed the persmission of A LOT OF files.......

But when you do not get an error, everything should be OK

to check you could do this (from the html directory):
Expand|Select|Wrap|Line Numbers
  1. ls -lR | more 
or
Expand|Select|Wrap|Line Numbers
  1. ls -lR | less 

4 2512
Luuk
1,047 Expert 1GB
What does the screen say when you go to a terminal prompt, and do:
Expand|Select|Wrap|Line Numbers
  1. su - 
  2. cd /var/www/html
  3. chmod -R 777 projectDirectory
  4.  
Apr 27 '14 #2
it says nothing just another prompt ... I have see the permissions options from LL command and I have permission but I cant see the result of my script :S
Apr 29 '14 #3
Luuk
1,047 Expert 1GB
that's OK, because the result can be that you changed the persmission of A LOT OF files.......

But when you do not get an error, everything should be OK

to check you could do this (from the html directory):
Expand|Select|Wrap|Line Numbers
  1. ls -lR | more 
or
Expand|Select|Wrap|Line Numbers
  1. ls -lR | less 
Apr 30 '14 #4
thank you very much for it bro !
May 1 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Chris | last post by:
Thanks to Ingo for refering me to this group. I'm a newbie with perl scripts and I'm having problem running my copied script to my server. Can anybody who is patient enough to help me with my...
0
by: David Scott | last post by:
Greetings all I am not able to GRANT file permission to users. All permissions end up being issued with FILE being left out. What could I be missing? I running 3.23.53 on Mac OS 10.2. Thank...
1
by: Avner | last post by:
I have a C++ code which I want to upgrade to the standard C++ The code constructs a file and sets the file permission The new iostream library does not include filebuf::openprot The old...
2
by: Sharon | last post by:
Hi. I need to implement a web based file permission dialog. For this i need to get the identities of all NT users. I can get the current identity, but have no idea of how to get all identities....
1
by: Ashraf Moollan | last post by:
Hi all, I was wondering whether anyone would know how to programatically set file permission? Basically I am having the same problem as described on: http://www.vbdotnetforums.com/?f=7&m=601...
3
by: gmax2006 | last post by:
Hi, I am using RedHat Linux 4. and I developed an oracle 10g based application by using cx_Oracle (cx_Oracle-4.1-10g-py23-1.i386.rpm) and Python 2.3.4. When I run the application through...
4
by: Franky | last post by:
Given the path to a file how can I tell if it is a folder or a non-folder file? Thanks
0
by: =?Utf-8?B?bGVlam9uZXMzNg==?= | last post by:
does anyone else have the problem where every file and folder on their windows xp home(sp2) settings say that the folder/file is read only when you did not set it for that? is there a fix or...
3
bala2it4u
by: bala2it4u | last post by:
In Asp.net application presently i am giving full purmission for users under security tag of file properties, but people say it is not safe to give full permission to file access If that is...
2
vivekgs2007
by: vivekgs2007 | last post by:
Hi to all, I created a php file, Where the files are uploaded in to a folder. When i am assessing to that file, it is showing 404 forbidden error, I got the error,It is in file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.