loading
2Comments

Tell us about yourself!

Complete Your Profile
  • Raspberry Pi 2 NAS with Owncloud, Samba and MiniDlna

    I had finished a couple of days ago, the unique problem now was the step 5.I put "auto,rw,defaults,permissions" after the file-system tipe and now is working great.thanks for the help and the post.

    View Instructable »
  • Raspberry Pi 2 NAS With Owncloud, Samba and MiniDlna

    hi, I love the post but I had a problem at step 8:I did sudo -i and then I copy pasted the next comands to the terminal.this runs well:#!/bin/bashocpath='/var/www/owncloud'htuser='www-data'htgroup='www-data'rootuser='root'but after this comand everything failed.find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640find ${ocpath}/ -type d -print0 | xargs -0 chmod 0750chown -R ${rootuser}:${htgroup} ${ocpath}/chown -R ${htuser}:${htgroup} ${ocpath}/apps/chown -R ${htuser}:${htgroup} ${ocpath}/config/chown -R ${htuser}:${htgroup} ${ocpath}/data/chown -R ${htuser}:${htgroup} ${ocpath}/themes/chown ${rootuser}:${htgroup} ${ocpath}/.htaccesschown ${rootuser}:${htgroup} ${ocpath}/data/.htaccesschmod 0644 ${ocpath}/.htaccesschmod 0644 ${ocpath}/data/.htaccessand now I can't do anything, (neither...see more »hi, I love the post but I had a problem at step 8:I did sudo -i and then I copy pasted the next comands to the terminal.this runs well:#!/bin/bashocpath='/var/www/owncloud'htuser='www-data'htgroup='www-data'rootuser='root'but after this comand everything failed.find ${ocpath}/ -type f -print0 | xargs -0 chmod 0640find ${ocpath}/ -type d -print0 | xargs -0 chmod 0750chown -R ${rootuser}:${htgroup} ${ocpath}/chown -R ${htuser}:${htgroup} ${ocpath}/apps/chown -R ${htuser}:${htgroup} ${ocpath}/config/chown -R ${htuser}:${htgroup} ${ocpath}/data/chown -R ${htuser}:${htgroup} ${ocpath}/themes/chown ${rootuser}:${htgroup} ${ocpath}/.htaccesschown ${rootuser}:${htgroup} ${ocpath}/data/.htaccesschmod 0644 ${ocpath}/.htaccesschmod 0644 ${ocpath}/data/.htaccessand now I can't do anything, (neither do "reboot") how can I get back the privileges?sorry for my english. Thanks for helping.

    View Instructable »