New Linux Installation Question

artisticforge . artisticforge at gmail.com
Mon Feb 9 17:13:02 PST 2015


hello

Given the little information that you originally provided there were
two possible reason to get
the error you posted.

/usr/local/bin/get_iplayer is the actual perl script/program and the
command line command to update was given.

/usr/local/bin/get_iplayer is the repository for the github repository.

the first one does not need to be writable except by the owner of the file.
the second one is a bad idea. having root own a repository is never a good idea.

therefore, Colin's posting makes perfect sense.



On Mon, Feb 9, 2015 at 5:33 PM, Budge <ajebay at errichel.co.uk> wrote:
>
> On 02/09/2015 09:49 PM, Colin Law wrote:
>> On 9 February 2015 at 21:39, Budge <ajebay at errichel.co.uk> wrote:
>>> On 02/09/2015 09:04 PM, Colin Law wrote:
>>>> On 9 February 2015 at 20:50, Budge <ajebay at errichel.co.uk> wrote:
>>>>> Hi and thanks for the advice.  I had understood however that
>>>>>
>>>>> -rwxr-xr-x 1 meant that user had write permissions.  I could of course change ownership but why have I not had this issue before?
>>>> That says that the owner has write permission.  But who is the owner?
>>>> ls -l /usr/local/bin/get_iplayer
>>>> will tell you.
>>>>
>>>> Most likely the owner is root, as you probably used sudo to put the file there.
>>>>
>>>> Colin
>>>>
>>>>
>>> Hi Colin,
>>> Yes root is the owner.  File is in /usr/local/bin.  What is best/correct
>>> approach, to give everyone permission, change it temporarily or change
>>> ownership?
>> You should not give everyone permission to it.
>>
>> Someone asked earlier what command you were running that gave this
>> error.  It should only happen if get-iplayer is attempting an update.
>>
>> In fact it is not a good idea to install manually into that folder
>> anyway.  If you were to install get-iplayer from the repository it
>> would overwrite it.  It would be more usual to manually install to
>> /usr/local/bin, though that wil not affect the permissions issue.
>>
>> Colin
>>
> Hi Colin,
> The problem occurred when I ran get_iplayer from my home directory for
> the first time, which is when the plugins are sorted out.
> I cannot follow your last paragraph which appears contradictory.  I did
> install into /usr/local/bin manually as per wiki and I have sorted out
> problem now.
> The only remaining issue which always causes a problem on a new
> installation is getting AtomicParsley installed and working, especially
> using pvr and a cron job.  Will call for help if needed.  Thanks again
> meanwhile.
> Budge



-- 
terry l. ridder ><>



More information about the get_iplayer mailing list