[mythtv-users] Opening a symlink over smb
Robert Longbottom
rongblor at googlemail.com
Sat Jul 14 04:51:44 UTC 2012
On 14 Jul 2012, at 03:25 AM, DFishburn <dfishburn.mythtv at gmail.com> wrote:
> I am using Mythbuntu 12.04 with XBMC 11.0.
>
> I didn't realize XMBC didn't support 0.25 fixes, so I am trying to find some stop gap measures.
>
> What I did was the following:
>
> 1. Created a new directory "renames".
> 2. Used mythlink.pl to create symlinks in this directory.
> 3. Added a new samba share
> 4. Try to watch the recordings over samba using the link human readable name.
>
> This always leads to permission denied errors.
> This also occurs if I map the drive on my Windows box and try to get VLC to play it.
>
> I was hoping someone who has more experience at this could spot my problem or tell me how to do it right.
>
> This is my directory:
> drwxrwxr-x 11 motion mythtv 8192 Jul 1 14:30 ./
> drwxr-xr-x 16 root root 4096 Jul 3 19:18 ../
> drwxrwxrwx 3 mythtv mythtv 40960 Jul 13 00:00 recordings/
> drwxrwxrwx 2 mythtv mythtv 8192 Jul 13 22:02 renames/
>
> This is the recording I am trying to play:
> fishburn at myth:/media/mythtv/renames$ ll Desperate_Housewives_-_2012-05-13\,_9-01_PM_-_Give_Me_the_Blame\;_Finishing_the_Hat.mpg
> lrwxrwxrwx 1 mythtv mythtv 48 Jul 13 22:02 Desperate_Housewives_-_2012-05-13,_9-01_PM_-_Give_Me_the_Blame;_Finishing_the_Hat.mpg -> /media/mythtv/recordings/1004_20120513210100.mpg*
>
> fishburn at myth:/media/mythtv/renames$ ll /media/mythtv/recordings/1004_20120513210100.mpg
> -rwxrwxrwx 1 mythtv mythtv 4632797184 May 13 23:00 /media/mythtv/recordings/1004_20120513210100.mpg*
>
>
> On windows, I map the drive using the mythtv user.
>
> This is my samba config.
> [global]
> workgroup = MSHOME
> server string = %h server (Samba, Mythbuntu)
> log file = /var/log/samba/log.%m
> max log size = 1000
> syslog = 0
> panic action = /usr/share/samba/panic-action %d
> dns proxy = no
> security = user
> printing = bsd
>
> domain master = yes
> local master = yes
> preferred master = yes
> os level = 100
> netbios name = OPENELEC
> security = user
> guest account = root
> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
> wins support = yes
> syslog only = yes
> name resolve order = lmhosts wins bcast host
> printcap name = /dev/null
> load printers = no
>
>
> [tv]
> path = /media/mythtv/renames
> available = yes
> browsable = yes
> public = yes
> writable = yes
> valid users = mythtv atv
> create mask = 0777
>
You probably need to set
follow symlinks = yes
I think that might do it.
Cheers,
Robert.
>
>
> In Windows explorer, I am simply trying to copy the file (link name) to a different directory.
> "You need permission to perform this action"
>
> In my XBMC logs I see (different file but the same for each of them):
> 20:54:06 T:62325248 INFO: FileSmb->Open: Unable to open file : 'smb://atv:atv@m40/tv/Undercover%5fBoss%5f%2d%5f2012%2d05%2d11%2c%5f8%2d00%5fPM%5f%2d%5fMasTec%2empg'
> unix_err:'d' error : 'Permission denied'
>
>
> Any suggestions for me?
>
> Thanks,
> Dave
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list