Videos5 permission error

trebor
Posts: 51
Joined: Wed Jul 07, 2010 4:32 am

Videos5 permission error

Postby trebor » Wed Oct 27, 2010 7:45 pm

I have installed Videos5 and am utilizing an alternative location rather than the default. Am using: /var/hda/files/drives/Big/Movies/

I ran the following as instructed:

mysql -uvideos5 -pvideos5 -e "update settings set value='/var/hda/files/drives/Big/Movies/' where name = 'paths'" videos5

/usr/bin/php /var/hda/web-apps/videos5/html/index.php find


When I login to Videos5 and try to encode one of the listed movies I get the following:

Can't encode /var/hda/files/drives/Big/Movies/A Few Good Men.mov:
apache user can't write in this directory.

Any suggestions would be much appreciated!
Thanks,
-Robert

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Videos5 permission error

Postby cpg » Thu Oct 28, 2010 6:56 pm

videos5, the app, runs with the apache user.

in order for it to encode, it has to write the output file.

it needs permissions to do so.

Code: Select all

chmod 777 /var/hda/files/drives/Big/Movies/
is the simplest thing you can do.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

sjsoto
Posts: 2
Joined: Fri Dec 10, 2010 9:37 am
Location: NY

Re: Videos5 permission error

Postby sjsoto » Sat Dec 11, 2010 6:33 am

Thank you cpg
that work I installed the Express cd amahi
for some reason the default path for the movies it was saying can't encode

as a root I used

Code: Select all

chmod 777 /var/hda/files/movies/
it worked

Who is online

Users browsing this forum: No registered users and 27 guests