Originally Posted by Valkyrie_of_valhalla
quick answer: try
sudo mkdir /folder/you/want
If you want to be able to edit it as a regular user as well, try:
sudo chmod 666 /folder/you/want
666 means everybody is allowed to read and write from/to that directory.
That might be unsafe to give everyone read and write access, since Julinho is creating a directory in the /mnt folder (possibly mounting a drive or device). Better would be
sudo chmod 700 /folder/you/want
Originally Posted by Julinho
Hey guys... here is the problem...
Im logged in as "LSF" and when i try to create a directory in "/mnt/lfs/" i have "Permission Denied"... and when i try the same thing in "/mnt/lfs/sources" i can do it... so... how can i create the directory where i want to?! this permission thing...how can i get it?!
You have permissions to edit the folder /mnt/lfs/sources, but not the folder /mnt/lfs. As Valkyrie_of_valhalla said, create a folder with the 'sudo' command (creating the folder as root). If you will need to have access to the folder with your personal user account, then change the permissions to '700', as Valkyrie_of_valhalla mentioned.
Try reading through this tutorial I found online, it might help clarify some things for you: