Find the answer to your Linux question:
Results 1 to 7 of 7
so I'll go ahead and admit it. I am trying to create a rule for BitPim to detect my phone. I am using Ubuntu 8.10 on a desktop computer. I ...
  1. #1
    Just Joined! graphicks's Avatar
    Join Date
    Dec 2008
    Location
    Tennessee
    Posts
    62

    Question I'm scared,

    so I'll go ahead and admit it. I am trying to create a rule for BitPim to detect my phone. I am using Ubuntu 8.10 on a desktop computer. I have limited experience, but I'm not totally helpless. From my searches, I have found some useful information, but I have questions before I try something that will cost me.
    My problem is that when trying to create a rules file according to BitPim instructions, I am not allowed to save the file. The udev folder is owned by root. I understand that I can: sudo chown greg udev to get permissions for the folder.
    What worries me is putting the permissions back after I have done this. Will there be any problems with changing this folder from root? What steps need to be taken after I do this? I saw in one search, that the permissions may return to root after rebooting. Is that correct?
    I don't want to crash my system. And I'm not a fan of "just re-install". That doesn't teach me anything.

    Thanks for you help,
    Greg

  2. #2
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    As far as I know this shouldn't be a problem. You should be able to change the permissions back, as for changing permissions back automatically on reboot...I've never heard of this so I can't comment on it but I don't see how it would crash your system regardless. You're just saving an individual file, no clue how that would cause terrible damage. Worst case if this happens you can recovery boot it, terminal to that folder and delete the saved file
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    17
    you could just create or edit the file as root.

    or run bitpim as root and then you will not need to change your udev rules

  4. #4
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    I think you should go with tomslicks advice. I always try to stay away from changing rights so you can do more as a user. Go for using root or if you have it, sudo.

  5. #5
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    Since you're using Ubuntu, then:
    Code:
    gksudo gedit /path/to/file
    will allow you to edit (and save) the file.

  6. #6
    Just Joined! graphicks's Avatar
    Join Date
    Dec 2008
    Location
    Tennessee
    Posts
    62
    Thanks for the replies. The 'gksudo" really worked at letting me create and save the file. That problem is resolved. Now I have a new one. I'll work on it a while, and hopefully I can solve it. If not I'll ask.

    Thanks again,
    Greg

  7. #7
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    I personally prefer the command:
    Code:
    sudo
    over gksudo, because it will ask your password in the terminal (window) and doesn't show whether or not the character is typed(this may seem odd, but people watching are confused more easily, you just have to type your password correctly).

    Try out sudo as well, and choose the one you prefer I'd say.

Posting Permissions

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