Code: Select all
lsblkCode: Select all
sudo chown -R www-data:www-data /media/Seagate Expansion Drive_Code: Select all
lsblkCode: Select all
sudo chown -R www-data:www-data /media/Seagate Expansion Drive_Code: Select all
sudo chown -R www-data:www-data "/media/Seagate Expansion Drive_"
sudo chown -R www-data:www-data /media/Seagate\ Expansion\ Drive_
Thanks so much! I have been running circles trying to figure this out. It is using NTFS file system. Lets hope once I add it to /etc/fstab that owncloud will allow access to it. So once I add it to the fstab I shouldn't have to do any permission entries? If I partitioned the drive into 2 file systems, NTFS and ext4, would I be able to give permissions to the ext4 directory without adding it to the fstab even though it is being managed through the external drive?rpdom wrote:File names with spaces in either need to be enclosed in quotes or have the spaces "escaped" with backslashes (\).That will work if your external drive is formatted with a Linux file system, like ext4. If it uses a non-Linux file system like FAT32/VFAT or NTFS, then the permissions will not be changeable like that as they do not support Linux file permissions. You would need to change the entry (or add one) in /etc/fstab.Code: Select all
sudo chown -R www-data:www-data "/media/Seagate Expansion Drive_" sudo chown -R www-data:www-data /media/Seagate\ Expansion\ Drive_
Yes I read that NTFS performs much slower. This is for my friend though who isn't computer savvy. Thats why I was considering partitioning to half NTFS and half ext4, that way it will work on his pi, and he could also copy the files directly to his windows laptop. This hard drive is only going to be used for his cloud storage, so do you think the slow performance of NTFS will matter?RaTTuS wrote:ext[234] performs much better on linux than NTFS -
but yes if you re- partition1 then no worries