Results 1 to 4 of 4
Hi,
I'm using Fedora 15.After installing Filezilla in my local system.I connected it with my remote website.
In the GUI of Filezilla in my local system, I can see the ...
- 01-08-2012 #1
Access Permission Problem inside the ROOT directory
Hi,
I'm using Fedora 15.After installing Filezilla in my local system.I connected it with my remote website.
In the GUI of Filezilla in my local system, I can see the files listed from the path:but I can neither save the file nor edit the file inside that directory through filezilla or even I cant do those things by direct access too,since its under the surveillance of root folder.Code:/var/www/html/
Is there any other way to access those php/html files in thatfolder by granting some priveleges or can we change the file location to another folder for apache to find the web pages ?www
- 01-09-2012 #2Just Joined!
- Join Date
- Mar 2011
- Location
- pittsburgh
- Posts
- 44
option 1, through filezilla:
you will probably want to create a special user/group in connection with filezilla if one doesn't already exist,
you can use the chown command to give that user and group ownership like this:
option 2, local access:Code:chown -R username:group /var/www/html
this is probably the preferred option for security reasons.
Fedora does not include sudo by default so I will show you how to use the su command instead. you need to make sure you have access to a user in the wheel group and as that user run commands like this:
the password it asks for is the root password of the system.Code:su -c "nano /var/www/html/foo.html"
so to run a command as root simply place it inside the parentheses after su -c
- 01-09-2012 #3
When I tried to open the php file in the filezilla ui window, it gives an error as follows:
If associated program on my system is the problem, how to set it ?Code:The file '/var/www/html/dbcheck.php' could not be opened: No program has been associated on your system with this file type.
Actually I had made the php files to be opened in the gedit by default.Isn't that enough ?
- 01-09-2012 #4
Hi, I modified some configuration settings in the filezilla ui window itself,So the file editor problem got fixed!
Screenshot.jpg
also your reply on usergroup helped me to get the access permission on the folders inside root.Thank you very much!!


Reply With Quote