Results 1 to 3 of 3
Discuss [SSH] chmod and WinSCP do not work at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; I am trying to chmod the properties of two files (to 755) on my iphone ...
  1. #1
    Professional Array

    Join Date
    Oct 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default [SSH] chmod and WinSCP do not work

    I am trying to chmod the properties of two files (to 755) on my iphone but I have been unable to do so. To begin with, I cannot, for the life of me, get the damn WinSCP to work - never have been. It simply will not connect. I use the correct ip address, root/alpine passwords, but nothing .

    Then I tried to use the VT 100 terminal on theiphone to change the permissions. I made sure SSH is on, but when i type the command it tells me that I do not have permition to do that.

    I also tried changing permissions using finder and squid. They just revert to the old permissions as soon as I exit.

    Help anyone??



  2. #2
    Former Bender
    Guest

    Default

    You have a Problem with your BSD Subsystem and some permissions.

    Try reinstalling it.

    The reason why your installed Term-VT100 can't change files permissions is because it requires root level and since 1.1.3, all applications are executed as mobile by SpringBoard.

    This can be changed by changing the permissions level of the app
    (chmod 4755 or 6755)

    Check the terminal fix for 1.1.3/4 in Installer.

  3. #3
    Professional Array

    Join Date
    Oct 2007
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    XianLi,

    Thanks for your help. I tried to reinstall BSD subsystem but I kept getting the "package download failed" message. I looked a bit online and ended up finding a solution. I basically installed a newer version of terminal and the fix to the BSD subssystem and then run the "su" command as described below. Then I simply run the chmod command.
    The following is from
    http://code.google.com/p/mobileterminal/wiki/FAQ
    ----------------------------------------------------------------------------------------
    Q: How do I upgrade to the latest version of Terminal?
    A (short): Add iphone.lenlolabs.com to your Installer sources. You will find the latest version of Terminal in the System category.
    A (long): Download the latest version of Terminal-nnn.zip to your computer from the Downloads section.

    --------------------------------------------------------------------------------
    Q: I installed the latest version of Terminal on my iPhone and I'm now logged in as user mobile instead of root. This is useless! I want to be root!
    A: Alright, alright already. Just run the "su" command to become root, but only when you need it. Remember, we're talking UN*X here. It's good to be a normal user. Really.

    --------------------------------------------------------------------------------
    Q: The su command isn't working! You have tricked me! Shame on you!
    A (short): Add iphone.lenlolabs.com to your Installer sources. You will find a package called BSD Subsystem 2.x SU Replacement in the Tweaks category. Install it. You now have a working su command.
    A (long): The su command is broken in BSD Subsystem 2.0 and 2.1. It needs to be installed as setuid root and recompiled to get rid of a relative library reference. Sorry, forgot to mention that. Please ask / trick / persuade the maintainer of the BSD Subsystem package to fix it
    -----------------------------------------------------------------------------------------

 

 

Similar Threads

  1. [Winscp] Accesing winscp
    By ako0o_ba in forum Tools
    Replies: 2
    Last Post: 01-05-2009, 09:47 PM
  2. Does WinSCP work for 1.1.3?
    By apercele79 in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 02-09-2008, 06:46 PM
  3. chmod?
    By Tupapi in forum Archiv (Leopard)
    Replies: 0
    Last Post: 10-18-2007, 07:26 PM
  4. Chmod
    By fizwiz99 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 09-26-2007, 03:04 AM

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
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:45 PM.
twitter, follow us!