anyone familiar with ubuntu?

This is a discussion on anyone familiar with ubuntu? within the C Programming forums, part of the General Programming Boards category; i was programming a c file, messing with fopen w now the whole folder that contains all my c files, ...

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    51

    anyone familiar with ubuntu?

    i was programming a c file,

    messing with fopen w


    now the whole folder that contains all my c files, and the file I wrote to with the program, will not open.

    any clues?

  2. #2
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Posts
    398
    Can you navigate your way there through the command line via commands like "cd" and "ls" ?

  3. #3
    Complete Beginner
    Join Date
    Feb 2009
    Posts
    312
    You can't use fopen() with directories, so I guess it's just a problem with permissions.

    Who is the owner of the directory? What are the permissions of the directory?

    If you're having trouble getting access to the directory, manually set owner and group to yourself and change permissions so you're able to change to the directory:

    Code:
    sudo chown <your_username>:<your_group> <dir>
    sudo chmod 700 <dir>
    Greets,
    Philip
    All things begin as source code.
    Source code begins with an empty file.
    -- Tao Te Chip

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. strange ubuntu problem
    By Stonehambey in forum Tech Board
    Replies: 4
    Last Post: 04-21-2009, 12:03 PM
  2. Removing Ubuntu and getting its space back
    By Akkernight in forum Tech Board
    Replies: 11
    Last Post: 04-04-2009, 04:02 AM
  3. I dont know if your familiar with circlemud but..
    By errigour in forum C Programming
    Replies: 0
    Last Post: 03-25-2009, 06:27 AM
  4. 32 bit to 64 bit Ubuntu
    By Akkernight in forum Tech Board
    Replies: 15
    Last Post: 11-17-2008, 03:14 AM
  5. Ubuntu fan noise
    By Stonehambey in forum Tech Board
    Replies: 10
    Last Post: 09-06-2008, 01:28 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21