Actually it should be more like this:
Main Topics
Browse All TopicsHi,
I'm new to Linux and I'm probably making it more complicated then what it is. I have apache 2.2 setup with PHP5 and I need to create a temp folder in the file system and move my PHP files over to it.
Fedora 11 says that I do not have permission to do so. I logged in terminal as su and was able to run a command to copy the files from my desktop to the var/www/html folder but I'd rather learn how to cut and paste the files in the file system without getting a permissions error. I cant even create a folder onto the desktop.
So, how do I set up my Fedora to where my only login is administrator and does not need permission to do what I need it to?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi all you need to do is disable SELinux to allow you to move your files to your temp dir , its what is preventing you
to disable SElinux
setenforce 0
You might need to restart your machine to relabel all files
Note: Disabling SElinux decreases your security, although its still in its early stages and 95% people dont use it.
getenforce shows "permissive"
I go to
Click Applications -> System Tools -> File Browser
Navigate to File System -> Var -> www -> html -> Right click and Create Folder/Document are grayed out. //I'm not sure, but is this the directory I have to place my PHP files to view when I use my browser to: http://localhost/phpsite.p
Desktop
----------
Right mouseclick and select "Create Folder"
"Error while creating directory untitled folder.
There was an error creating the directory in /home/CTS2/Desktop.
Show more details
Error creating directory: Permission denied
==========================
What I was going to do is create a TEMP directory for PHP as I need to specify one in my php.ini
I'm just so used to windows, think I"m making this entirely too difficult, but Linux seems pretty awesome. (actually more secure..especially with all these permission issues I'm having)
If you have a better suggestion for the temp directory, let me know - but doing basic things such as creating folders, copying folders to file system, and creating new documents I need to learn how to do.
Fedora 11 does not permit root to be in GUI mode, check the fedora site to see if you can enable it, another solution would be to login normally with your user in GUI mode, then open a terminal and type
su -
it will prompt you for the root password, enter it and you are now root on a terminal but also not for using the GUI menus and tools.
Also try this
Open a terminal , switch to root ( su - ) then run
init 3
this will switch you to run level 3 (command line mode), make sure you are root at this point and then run the command
startx, it will open the GUI again but from runlevel 3
You said that you were able to login to the terminal using su. Instead of running the cp command, what happens when you type the word 'nautilus'?
Here is a good place to start:
http://www.fedoraguide.inf
If you can run a command as root, you should be able to execute a program as root, regardless of whether it is GUI based or not.
Hope this helps
runlevel shows 3 3
open terminal (has a $ at the end) and type nautilus = opens file browser. (cannot create a folder on the desktop)
Closed file browser, typed su and then my password, then tried nautilus again and got an error message shown below.
--------------------------
(nautilus:6238): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
(nautilus:6238): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/
(nautilus:6238): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/
(nautilus:6238): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/
GConf warning: failure listing pairs in `/apps/nautilus/preference
(nautilus:6238): Unique-DBus-WARNING **: Unable to open a connection to the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(nautilus:6238): Unique-DBus-WARNING **: Unable to connect to the running instance, aborting.
(nautilus:6238): Unique-DBus-WARNING **: Unable to open a connection to the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(nautilus:6238): Unique-DBus-WARNING **: Unable to connect to the running instance, aborting.
Business Accounts
Answer for Membership
by: zivalicaPosted on 2009-11-05 at 13:01:21ID: 25753981
You can run your file browser in root user mode.
Something like :
Open command prompt and type:
Then just type nautilus or konqueror or whatever file browser you want to use.
In fedora 11 (assuming you are using gnome) the default should be nautilus
Select allOpen in new window