but i want even other applications to use system files. like i made file /var/www/html/smarty.php
This file needs a file from /usr/local/lib/smarty/libs/.
when i run /localohost/smarty.php in firefox it shows me this error
Code:
Warning: require_once(/usr/local/lib/Smarty-3.1.11/libs/Smarty.class.php): failed to open stream: Permission denied in /var/www/html/smarty.php on line 5
Fatal error: require_once(): Failed opening required '/usr/local/lib/Smarty-3.1.11/libs/Smarty.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/smarty.php on line
Wanna get rid of this error
---------- Post added at 03:17 AM ---------- Previous post was at 03:05 AM ----------
Aaah got one problem in the trick you suggested.
When i did run nautilus from terminal being a root user, it gives me error
Code:
Could not register the application: The connection is closed
and when i tried running gedit it gave me this error
Code:
(gedit:18245): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
** (gedit:18245): WARNING **: Could not connect to session bus
[root@prateek prateek]# nautilus
Could not register the application: The connection is closed
but these commands run fine being a normal user