Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next
Can't move database to Linux share
Author Message
DVD Profiler Desktop and Mobile RegistrantTrent_R
Registered: March 15, 2007
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Hello!

I'm running a Linux file server with some Samba shares and some workstations with Windows XP. Since some of the machines are dual boot, I wanted to move the DVD Profiler database to a server share using

File -> Open Database -> New Database -> Check Copy Database and point to the shared folder

as suggested by many on this forum. DVD Profiles copies all data to that shared folder and lists the new database but in red. If I click on it to select it, an error message comes up, saying "Unable to open database" and "The database path is not accessible" which is weird since it just copied all files there and has full access to the folder.

If I create a share on another Windows machine and copy the database to that share, it works.

Does anybody know what the difference between Windows and Linux-Samba shares might be that prevents DVD Profiler from working on a Samba share? Maybe it's just some setting in smb.conf.

Thanks in advance,

Trent
DVD Profiler Unlimited RegistrantStar Contributormdnitoil
Registered: March 14, 2007
United States Posts: 1,777
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
It's been a while since I've mucked with Samba, but one of the sticking points was getting it to properly recognize windows security settings.  I seem to recall having to generate some sort of user account on the Linux side to match up with the winodws "user".  Additionally, if Profiler is complaining about a path problem, make sure that the share is mapped to a drive letter rather than using an explicit share path, i.e. //servername/folder.
 Last edited: by mdnitoil
DVD Profiler Desktop and Mobile RegistrantTrent_R
Registered: March 15, 2007
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
It is mapped to a drive letter. I've tried both, UNC path (\\servername\share) and mapped drive letter (i.e. Z:\DVDProfiler).
Of course the user exists and has permissions to write to that share. DVD Profiler creates a subfolder for the database named after the profile and copies the whole database into that folder which proves that it can access the folder, create directories and write data.
The red entry in the databases list shows all data including the number of DVDs for that database, yet it doesn't list the access times.

Creating the exact same share on another Windows box and copying the database there shows the same behaviour with the difference that the resulting entry in the list is black and selectable.
DVD Profiler Unlimited RegistrantStar Contributormdnitoil
Registered: March 14, 2007
United States Posts: 1,777
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
That still seems to imply a permissions issue.  Not the actual permissions as Profiler did the writing, but the perceived permissions from the windows side, possibly for the subfolders created.  I presume that the inheritence is working properly on the subfolders?  I'm sure you've probably checked that out already.
DVD Profiler Desktop and Mobile RegistrantTrent_R
Registered: March 15, 2007
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
Yes, it seems that the problem lies in the difference of Linux permissions (rwx structure) and Windows permissions (ACL). By default ACL support is disabled on Samba. I'll enable ACL for this share and see if that helps.
DVD Profiler Desktop and Mobile RegistrantTrent_R
Registered: March 15, 2007
Posts: 4
Posted:
PM this userDirect link to this postReply with quote
No luck. Maybe on of the developers can help. How does DVD Profiler determine if the database folder is accessible?
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next