Hesham4488 Posted June 12, 2011 Report Share Posted June 12, 2011 I have installed the latest copy of Ubuntu Linux amd64 and tried to install the uTorrent client but all I get is the followingroot@ubuntu:/media/Main/temp/utorrent-server-v3_0# ./utserver-bash: ./utserver: Permission deniedNotice that I'm already on root so what permission?Thanks in advance.P.S It's my first time using Linux so please, go easy on the Linux newbie Link to comment Share on other sites More sharing options...
DreadWingKnight Posted June 12, 2011 Report Share Posted June 12, 2011 Notice that I'm already on root so what permission?Filesystem permissions still need to be set right regardless, and it's not a good idea to run usermode applications like uTorrent as root if you can avoid it. Link to comment Share on other sites More sharing options...
Hesham4488 Posted June 12, 2011 Author Report Share Posted June 12, 2011 Filesystem permissions still need to be set rightSo I should call chmod.Would you please provide me with the correct parameters to use with chmod in my case?chmod [OPTION] MODE[,MODE] FILEchmod ?? ?? utserver Link to comment Share on other sites More sharing options...
DreadWingKnight Posted June 12, 2011 Report Share Posted June 12, 2011 chmod 755 utserver Link to comment Share on other sites More sharing options...
Hesham4488 Posted June 13, 2011 Author Report Share Posted June 13, 2011 linux@ubuntu:/media/Main/temp/utorrent-server-v3_0$ chmod 755 utserverlinux@ubuntu:/media/Main/temp/utorrent-server-v3_0$ ./utserverbash: ./utserver: Permission deniedlinux@ubuntu:/media/Main/temp/utorrent-server-v3_0$ ls -ltotal 1280drwx------ 1 linux linux 4096 2011-03-08 10:29 docs-rw------- 1 linux linux 980789 2011-03-08 10:29 utserver-rw------- 1 linux linux 322685 2011-03-08 10:29 webui.zipThat's the outcome. Link to comment Share on other sites More sharing options...
lithopsian Posted June 13, 2011 Report Share Posted June 13, 2011 Root doesn't own the utserver binary and only user linux has permissions.Your pasted snippet shows that you are not running as root. You are running as user linux. The "permission denied" is because the utserver binary does not have execute permission set.chmod 755 should set execute permission but it clearly hasn't done in this case. Don't know why. This is your real problem, chmod not working for some reason. Do "whereis chmod" to make sure you are executing the correct file in /bin/chmod. Test it on some dummy files to see if it does anything at all. Link to comment Share on other sites More sharing options...
lithopsian Posted June 13, 2011 Report Share Posted June 13, 2011 Are you by any chance running on a FAT or NTFS file system? Link to comment Share on other sites More sharing options...
Hesham4488 Posted June 14, 2011 Author Report Share Posted June 14, 2011 Yes the filesystem is NTFS, this Linux is actually installed inside windows using wubi so both drives where Linux is installed and where this file is are NTFS.(I actually have my HD split into 2 partitions only: C-NTFS-48.8GB and D-NTFS-882GB ) Link to comment Share on other sites More sharing options...
lithopsian Posted June 21, 2011 Report Share Posted June 21, 2011 I've read there are issues with chmod failing silently on NTFS drivers but don't have experience of this. Try posting a question on some Linux forum or google to see if you can find the problem. One way or another you need to get that execute bit set or you won't be able to run the program. I'm sure the Ubuntu forums will have seen this problem and know the exact way to fix it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.