Why is TVheadend creating hidden dirs and files on Samba mounted share ???
Okay so let me repeat my steps:
I have a Synology 409+ on IP address 192.168.1.20
I have a (Archlinux) server running TVheadend (git-90e3570) under username hts
On the Archlinux box I mount the Synology 409 with the following command from /etc/fstab:
'//192.168.1.20/TVshows /mnt/TVshows cifs nouser,nosuid,rw,credentials=/etc/cifspwd 0 0'
In the /etc/cifspwd file I have 'username=hts password=hts'
So having TVheadend to record an episode of Spongebob on Nickelodeon creates a directory and episode file on the mounted Synology in /mnt/TVshows
Doing an ls -laF on the Archlinux box shows this:
[[email protected] TVshows]# ls -laF /mnt/TVshows/Nickelodeon
drwxrwxrwx 3 1031 users 0 May 6 09:10 ./
drwxrwxrwx 15 root root 0 May 6 09:10 ../
drwxrwxrwx 2 1031 users 0 May 6 09:10 Spongebob-Squarepants/
Logging in with smbclient to the Syno and doing dir it shows the directory had become hidden:
Nickelodeon DAHS 0 Fri May 6 09:10:22 2011
smb: \> cd Nickelodeon
smb: \Nickelodeon\> dir
. DAHS 0 Fri May 6 09:10:22 2011
.. DA 0 Fri May 6 09:05:19 2011
Spongebob-Squarepants DAHS 0 Fri May 6 09:10:37 2011
Why are these H bits on the created directory and episode files set ?When creating a directory manually under username hts it shows this:
drwxrwxrwx 2 1031 users 0 May 6 09:42 Test/
- smbclient -U hts //192.168.1.20/TVshows
Test DAS 0 Fri May 6 09:42:38 2011
So why is there a difference in handling the attributes between creating directories and files thought the TVheadend application or manually ?