Chmod: operation not permitted

hello,
I am a sophomore at UWGS. I tried installing gnu radio software
3.7 from script, i.e by typing :

$ sudo wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
./build-gnuradio && ./build-gnuradio

It prints and gives error as below :

###########################################################################
[sudo] password for MARKUS:
–2013-12-30 02:38:51-- http://www.sbrac.org/files/build-gnuradio
Resolving www.sbrac.org (www.sbrac.org)… 67.212.80.242
Connecting to www.sbrac.org (www.sbrac.org)|67.212.80.242|:80…
connected.
HTTP request sent, awaiting response… 200 OK
Length: 36545 (36K) [text/plain]
Saving to: ‘build-gnuradio.1’

100%[======================================>] 36,545 153KB/s in
0.2s

2013-12-30 02:38:52 (153 KB/s) - ‘build-gnuradio.1’ saved [36545/36545]

chmod: changing permissions of ‘./build-gnuradio’: Operation not
permitted
##########################################################################

whats wrong here? please reply soon
forgive me if its a stupid question …

markus
uwgs

On Dec 29, 2013, at 11:22, markus krisker [email protected] wrote:

2013-12-30 02:38:52 (153 KB/s) - build-gnuradio.1 saved [36545/36545]

chmod: changing permissions of ./build-gnuradio: Operation not
permitted

This question seems unrelated to ruby… but notice that you’re saving
build-gnuradio.1 and running (and chmodding) build-gnuradio.

Clear out your cruft and try again and I bet it works.

Please restrict this email list to ruby related things.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 29 Dec 2013 14:08:44 -1000
Ryan D. [email protected] wrote:

Clear out your cruft and try again and I bet it works.

Please restrict this email list to ruby related things.

I guess that there is a difference in the name only because he executed
that
script twice. build-gnuradio exists, otherwise chmod should return info
that
this file doesn’t exist, not that there is a problem with permissions.

The problem is: you download file on root account, so build-gnuradio
belongs to
root user and root group. Then you are trying to change mode bits from
user
account other than root. It’s not possible.

“sudo” is not needed there, I guess. But if it is: just “su” into root
and then
execute all commands (without sudo).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBAgAGBQJSwMJOAAoJEG57Kg58DWnT0mcP/0ma5jjm8J8CXoe7V7XB5wtG
PydWvdY5XLMZrDIjGzGwaY/93eLffHasLmdIMoglJw+nlzKCRZh7aOyOuBOM+dlb
5+xsiyMbePW/bRumiD/pqa01ucymxmgkPONUJkXIBzBCaT1xc1eWwcufmbza8TvM
O+6kdH2V3mEra2WJs05TfFdg64wbZBCEFkv2LJihu4kNlczDcU0U2jVihR6OF3Qf
iFe1hmxXIVCZk1tRn0rwklzPoAy95wp0UwX5qmALmrJBLXHMitcJ/j2oXC+0R00i
ApKqzYo/SDjYa7BUJ7IgrjVO10V63BjURliYVGe13rOCsHBff5H/o4ZtbOqpThOU
ST/+8zciuB91Xz1l/HumbP00JJ9BzXCp4ObJWZaV0dHqkSnwWmNQwIkjJP5gbPEE
wvB3BiiDawAWYSA6N3ZDkvD0KNffr6p9vNCn5SNL2P2hMUuvZAcJVvA7DO4TAo69
fakEdO+oU4cZMpb2muKRxxsWoNkfw1CTNENArDrdvx2XB7K7pLmfePF3FSDjD0y0
6fTdw4lCmR5Werq3pjMjUzXqpk1xYXkz7TWMV6UL9SBhOa2hBZEtiAaFTHCCls5W
AW7seHyGg0Jejwr/N6VRxb7y6bwu0AhJ+nZjXuPbUxLab7ML6t1oWJ9MlbWXUqMy
tXjWm8aRSxne3hAC7CLT
=dwv0
-----END PGP SIGNATURE-----

Ryan D. wrote in post #1131801:

This question seems unrelated to ruby…

sorry about that

Ryan D. wrote in post #1131801:

Clear out your cruft and try again and I bet it works.

Please restrict this email list to ruby related things.

It worked.There was already a file with name ‘build-gnuradio’ in the
directory so it downloaded build-gnuradio.1 and was trying to chmod
build-gnuradio, a different file.so i deleted build-gnuradio… now its
getting installed…

thanks a lot!!

Hi,
The installation ended as below
####################
…Doing cmake
…Cmaking
…Building
…Installing
Done building and installing Gnu Radio
GRC freedesktop icons install …Done
Done function gnuradio_build at: Mon Dec 30 18:52:19 IST 2013
Starting function rtl_build at: Mon Dec 30 18:52:19 IST 2013
you do not appear to have the ‘rtl-sdr’ directory
you should probably use ./build-gnuradio gitfetch to fetch the
appropriate
files using GIT
Send success/fail info to Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini
######################
Do I still need to install any files ? how should i do that?

Thanks in advance,
Markus
UWGS