owncloud and ntfs

  • Hi,


    I am setting up Owncloud (again) after a reinstallation of omv, and I want the data to be stored on my media partition. Unfortunately this has to be mounted as NTFS, both because I want windows to see it (work laptop) and also because backing it up to reformat will be a bitch! (and will require me to buy another HDD)


    My main problem is that owncloud wants me to set the permissions to 770, but as the drive is ntfs, I cant change the permissions. I tried editing the fstab to add the permissions option, but this was removed on rebooting the system (and didn't let me chmod anyway)


    Can anyone help?


    Cheers :)

  • Well, it seemed to sort itself out, but I have just realised that it has made the owncloud folder in the root directory (on the root drive). while looking at the shares I get this error:

    Zitat

    Failed to get configuration (xpath=//system/fstab/mntent[uuid='1aba7ae0-0997-48dc-8f18-7c97070757ec'])


    With the following:


    This happens with all shares.

  • fixed the error message by deleting all of the shares. Now I just have the original issue, cannot set permissions on the ntfs drive. I have tried editing the config.xml and I can now get my changes to survive a reboot in fstab, but still cant chmod the damn directories!

  • OMG I am getting closer! After adding dmask=007 to config.xml file and rebooting I now have drwxrwx--- permissions on the drive (so far so good), but now owncloud in winging about something else:

    Zitat

    Can't create data directory (/media/2FEAE88E665EDA39/Owncloud)


    This can usually be fixed by giving the webserver write access to the root directory.


    The folder is currently owned by root and group root. I tried:

    Code
    chown www-data Owncloud


    But this had no effect.


    Any ideas?

  • It's all working boys and girls!!!
    Re-edited the config.xm, removed the dmask and replaced it with permissions. Then REBOOTED and I could now chown to my hearts content! Not sure why I had to reboot though as I ran omv-mkfstab and mount -a, but the changes never applied themselves properly. Would be good to know what I am doing wrong to save rebooting in future.

  • As far as I know mount -a does not remount anything... thus it does not apply.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!