[haiku-bugs] [Haiku] #11334: ERROR: no write permission on /boot/home/config/bin/youtube-dl

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Sat, 11 Oct 2014 22:22:19 -0000

#11334: ERROR: no write permission on /boot/home/config/bin/youtube-dl
------------------------------------+------------------------------
 Reporter:  Giova84                 |        Owner:  bonefish
     Type:  bug                     |       Status:  new
 Priority:  normal                  |    Milestone:  R1
Component:  File Systems/packagefs  |      Version:  R1/Development
 Keywords:                          |   Blocked By:
 Blocking:                          |  Has a Patch:  0
 Platform:  All                     |
------------------------------------+------------------------------
 I was attempting to update youtube-dl script (~> youtube-dl --update); is
 necessary to maintain up-to-date this script. Unfortunately, since this
 script on Haiku, lives inside /boot/home/config/bin and needs -  to be
 updated - the write access on the disk, i get the following error:
 "ERROR: no write permission on /boot/home/config/bin/youtube-dl".
 A workaround is to copy this script inside /boot/home/config/non-
 packaged/bin.

 I have modified the hpkg for youtube-dl (using a post-install script) to
 achieve this workaround during the installation of the hpkg. The following
 is the content of the post-install script of the
 youtube_dl-2014.06.19-2.hpkg:
 {{{
 cp /boot/home/config/bin/youtube-dl /boot/home/config/non-packaged/bin
 chmod +w /boot/home/config/non-packaged/bin/youtube-dl
 }}}


 Note: '''it needs chmod''' because, since youtube-dl lives inside a non
 writable directory, is copied without the write access attribute.

 hrev47986

--
Ticket URL: <https://dev.haiku-os.org/ticket/11334>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: