Dec
9
awarded Scholar
Dec
9
accepted Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Dec
9
revised Xampp PHP File Permissions with NTFS Hdd's as additional media storage
improved formatting and final edits
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Ok good to know. I may have to resort to that here soon just because I seem to be going backwards. This isn't really a time critical thing but frustrating none the less. I already have an auth system in place via php/mysql. Thanks again!
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
And that would allow the user www-data (php/apache user) to move files without a password? It would only allow them to move files though? Or obviously other commands I put into that. I am somewhat concerned because this is internet connected and I do understand there are possibilities for security breaches. But I don't have anything on this machine that really matters. No online banking, etc, its just a media server.
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
I appreciate any help. I've been working on this all day and nothing. I've managed to get it so php can't even read the drives. Thanks for everything you've had me try, at least I now have some things off the list of possibilities.
Dec
9
awarded Editor
Dec
9
revised Xampp PHP File Permissions with NTFS Hdd's as additional media storage
improved formatting
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Chris: Sorry I didn't see your posts earlier. 1) not using move_uploaded_file, the files have been put into my ntfs drives and I'm trying to organize them. Its hard to organize when you can't copy or rename. 2) Not in safe mode, unless that is the default install for xampp. I'll look into that further. 3) Display errors was at E_ALL and it said 'permission denied...'. 3) tried both copy(), rename() and passthru('cp "from" "to") all with full paths from the root of that drive /media/v2.0tb/ encapsulated in double quotes. The passthru command I wrote in the command line & then put it into php.
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Sadly now for whatever reason the suggestions you made for my fstab doesn't allow me to read the files on disk with my www-data user. Here is my fstab: UUID=3D80C54D5D100280 /media/v2.0tb ntfs-3g uid=1000,gid=33,umask=007 0 0 where the uid is for my typical username of that box, and the gid is of my www-data user/group (same id for both). I found their id's via the 'id' command
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Also, is there a way to add the ability for these drives to be shared across my local network again. Previously I had allowed them to be shared and accessible on any machine on my network. Which, since I have a 32 char password on wpa2, I felt pretty secure about that. Also, physically nobody else has access to my router.
Dec
9
awarded Student
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
Also, I did have it as /dev/sdxx but I found that to sometimes be inconsistent in figuring out which drive is being mounted. And as its very important for my code to read/write to the correct drives, I found it best to stick with the UUID's. Let me know if I'm incorrect. I'm a good web developer but I've not delved into permissions in ubuntu much. I just prefer linux over pc for a dev environment for php.
Dec
9
comment Xampp PHP File Permissions with NTFS Hdd's as additional media storage
I'll try that now. I didn't figure I would have to reformat but I could move it to ext3 or ext4 if needed. Its just a local media server and I could always get a red5 instance or something similar running to output the videos. It will just be a pain to move all the data back and forth.
Dec
9
asked Xampp PHP File Permissions with NTFS Hdd's as additional media storage