Re: ffmpeg and symlink issue

948 views
Skip to first unread message

sahir ali

unread,
Apr 20, 2013, 3:18:37 AM4/20/13
to resour...@googlegroups.com
got no luck in win2008 so installed on ubuntu (VM) ffmpeg issue is resolved but still i m having symlink issue

i mounted nas(win2008) in ubuntu as /media/data and made folder there "filestore" after that made sym link in www directory where RS is installed "sudo ln -s /media/data/filestore filestore" link stablished succesfully permission is 777 owner is root 
but now when i upload file it only upload file in filestore/tmp/pupload ###### no previews nothing, any1 can help me in this regard? 



On Monday, 15 April 2013 15:19:50 UTC+5, sahir ali wrote:
having two issues, posting it after reading many posts.

configs: win7 32bit , iis7.5 latest RS build. ffmpeg version N-45279-g1a104bf,  ImageMagick 6.8.4-8 2013-04-06 Q16 ( installation check all ok)

1. ffmpeg isnt automatically converting any video clip after uploading ( in linux ubuntu i found that it auto convert after upload completion), instead it make enty in filestore\tmp\ffmpeg.bat and when i execute this batch file manually it makes preview files .flv, also checked in config edfault.php that extention is already there so this is not the issue. 

2. i have NAS (win 2008 server) so when i mount and symlink file store to that mount i get permission error (installation check) that filestore isnt writeable, i checked mounted filestore has everyone as all rights. any suggestion ? 


Paul Manno

unread,
Apr 20, 2013, 11:51:01 AM4/20/13
to resour...@googlegroups.com
Owner should not be root.  Owner should be www-data.  Change the symbolic link ownership to reflect that.


--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

sahir ali

unread,
Apr 21, 2013, 8:17:21 AM4/21/13
to resour...@googlegroups.com
Thanks pgmano

whatever i do i m not able to change the owner from root to www-data

tried for both "sudo chown www-data filestore" inside media/data
and inside var/www 

also tried to put owner in mounting entry in fstab "//srv01/symtest  /media/data  cifs uid=www-data,credentials=/home/rs/.smbcredentials,sec=ntlm 0 0"

btw i m using vmware inside win 7 64bit, do  u think its coz of vmware ?, also read that i hv to enable followsymlink, i m not sure where and how to change it using ubuntu 12.10

any help will be appreciated, specially if any1 can tell me the solution inside windows plate form (ffmpeg and symlink) or this with ubuntu.

sahir ali

unread,
Apr 21, 2013, 8:56:12 AM4/21/13
to resour...@googlegroups.com
puting -R in command "sudo chown -R www-data:www-data filestore" now i  see that /var/www/filestore is own by ww-data and hv 777 permission, but cant change ownership of mounted drive symlink targeting at. :(

Jeff Harmon

unread,
Apr 21, 2013, 2:19:07 PM4/21/13
to resour...@googlegroups.com, resour...@googlegroups.com
Maybe you could affect its permissions from the Windows box itself?

Jeff

--
Jeff Harmon
Chief Executive Officer
Colorhythm LLC

Main Office:  +1 415-399-9921
Mobile:  +1 510-710-9590

Paul Manno

unread,
Apr 21, 2013, 9:38:09 PM4/21/13
to resour...@googlegroups.com
You're doing a chown -h right?

sahir ali

unread,
Apr 22, 2013, 2:48:08 AM4/22/13
to resour...@googlegroups.com
Thanks guys i got it working, posting solution might it help some1 else like me.

if mounting permanently via fstab use these commands
//srv02/symtest /media/data cifs uid=33,gid=www-data,credentials=/root/.smbcredentials,file_mode=0777,dir_mode=0777,sec=ntlm  0 0

uid = 33 > www-data ( u can get the id of any user by typing "id www-data"
file_mode and dir mod is like chmod 
restart is necessary "sudo mount -a" wont change anything

i also changed the owner and permission in web folder "symlink" using "sudo chown -R www-data:www-data filestore" 

cheers
Reply all
Reply to author
Forward
0 new messages