Results 1 to 10 of 10

Thread: problem on creating new folder

  1. #1
    Join Date
    Feb 2012
    Location
    India
    Beans
    107
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question problem on creating new folder

    i have recently install ubuntu 10.10 desktop edition.
    but my problem is can't be creat a new folder inside the file system. please help me how to create a folder inside the file System.
    thank you.

  2. #2
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: problem on creating new folder

    Quote Originally Posted by ramakanta View Post
    i have recently install ubuntu 10.10 desktop edition.
    but my problem is can't be creat a new folder inside the file system. please help me how to create a folder inside the file System.
    thank you.
    By "File System", what are you referring to? I mean, what is the exact location where you're trying to create the file? Also, please copy and paste the error that you're getting here so that we can evaluate it.

    If you're trying to create the folder outside of your /home directory, it's likely that the problem is due to insufficient privileges. You need to be administrator in order to create folders outside of home/, which you can get if you issue:

    Code:
    sudo mkdir <directory_name>

  3. #3
    Join Date
    Feb 2012
    Location
    India
    Beans
    107
    Distro
    Ubuntu 14.04 Trusty Tahr

    Exclamation Re: problem on creating new folder

    i have attached a scr shoot , where i want to create a folder.
    i done , this command , that you sent me. thanks..
    but now i cant be copy and paste of my files inside . please help me.

    than you.
    Attached Images Attached Images

  4. #4
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,738
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: problem on creating new folder

    You need to use sudo too in order to copy files in a folder owning by root.

    In a xterm, you will have to run:

    sudo cp /directory/name_of_file_you_want_to_copy /folder_you_want_the_file_to_be_copied/. You have to specify the complete path where the file you want to copy is and the path where you want to copy it.

    Before doing it I recommend two good documents for understanding sudo and cp as well as using command line:

    https://help.ubuntu.com/community/RootSudo

    https://help.ubuntu.com/community/UsingTheTerminal

  5. #5
    Join Date
    Feb 2012
    Location
    India
    Beans
    107
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: problem on creating new folder

    if possible kindly give some simple example..

    suppose i have a mp3 file "rag.mp3" in home directory inside the Music folder .
    i want to copy this rag.mp3 to File System/usr/rama
    rama is folder that i have created.
    than you.

  6. #6
    Join Date
    Jan 2009
    Location
    Santander, Spain
    Beans
    1,738
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: problem on creating new folder

    I think you have to have your music files in your /home/name_of_user/music/ folder, it is better because /home/name_of_user/ is the folder were are all the user files and where you have all permissions to do or undo.

    Anycase

    you open an xterm: menu apps/accesories/xterm, then you go to Music folder:
    cd /home/Music and there you write sudo cp rag.mp3 /home/usr/rama/
    you are asked for your root password, you introduce it and it is all.
    Last edited by claracc; February 22nd, 2012 at 01:28 PM. Reason: lost slash / and lost accesories

  7. #7
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: problem on creating new folder

    Quote Originally Posted by ramakanta View Post
    if possible kindly give some simple example..

    suppose i have a mp3 file "rag.mp3" in home directory inside the Music folder .
    i want to copy this rag.mp3 to File System/usr/rama
    rama is folder that i have created.
    than you.
    As claracc said, any directories that are not in your home folder require elevated permissions in order to modify. So, you have to either do it by the terminal and issue 'sudo' in front of all of the commands. If you'd prefer to work in Nautilus (the graphical file manager), then in the terminal issue:

    Code:
    gksudo nautilus
    Once you enter your password, you'll be able to run the graphical file manager as root. However, you need to be very careful! While you have root level permissions, you can really do some damage on the system if you delete the wrong things or move things around that need to be in a certain place.

    Can we ask why you want to put your music in /usr? That's not really the place to store such things, and to be honest, you're really better off not messing with the system files (which include /usr) unless you really need to, and know what you're doing.

  8. #8
    Join Date
    Feb 2012
    Location
    India
    Beans
    107
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: problem on creating new folder

    thanks suggestion.
    actually i am not any interest to copy my music file in side the usr folder. it is just example .i am new to linux . so just i want to learn how to copy a file ,create a folder. etc.
    thanks again

  9. #9
    Join Date
    Feb 2012
    Location
    India
    Beans
    107
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: problem on creating new folder

    thank you.

  10. #10
    Join Date
    Jun 2008
    Location
    Opp, AL. USA
    Beans
    114
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lightbulb Re: problem on creating new folder

    It's good that you want to learn how to do things in linux...BUT, as the previous responders stated, it is best to NOT do those things outside your "home" folder....lest you unintentionally damage your system and not know what you did.

    Enjoy!
    A~
    Ubuntu...set your computer free!
    Linux User: 216754
    Alabama

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •