[mythtv-commits] mythtv commit: r16515 - in trunk by bjm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Mar 12 00:37:32 UTC 2008


      Author: bjm
        Date: 2008-03-12 00:37:32 +0000 (Wed, 12 Mar 2008)
New Revision: 16515
   Changeset: http://cvs.mythtv.org/trac/changeset/16515

Modified:

   trunk/myththemes/cpsvndir
   trunk/mythtv/themes/cpsvndir

Log:

Hadn't anyone tried this twice? 444 explicitly removes the
write and execute bits:

: bjm at moktoo ; touch foo bar
: bjm at moktoo ; ls -l foo bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 foo
: bjm at moktoo ; chmod 444 foo
: bjm at moktoo ; ls -l foo bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 bar
-r--r--r-- 1 bjm users 0 2008-03-11 17:30 foo
: bjm at moktoo ; cp bar foo
cp: cannot create regular file `foo': Permission denied
: bjm at moktoo ; chmod 220 foo
: bjm at moktoo ; ls -l foo bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 bar
--w--w---- 1 bjm users 0 2008-03-11 17:30 foo
: bjm at moktoo ; chmod +r foo
: bjm at moktoo ; ls -l foo bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 bar
-rw-rw-r-- 1 bjm users 0 2008-03-11 17:30 foo
: bjm at moktoo ; cp bar foo
: bjm at moktoo ; 

I can see assuring global read but beyond that is the users
own business. However, removing the write bit for the install
user is no good.

For anyone who now gets 'Permission denied' when trying to install:

$ chmod -R ug+w /usr/local/share/mythtv





More information about the mythtv-commits mailing list