Is it possible to change the permissions of a video on my server from 644 to 777? I want to edit some videos already on my server thru ftp, then return them to permission 644 -- A simple "overwrite" from FTP does not work.
Is it possible to change the permissions of a video on my server from 644 to 777? I want to edit some videos already on my server thru ftp, then return them to permission 644 -- A simple "overwrite" from FTP does not work.
SPEED UP YOUR VSHARE SITE!
Speed up your vshare site by "offloading" your images and video thumbs!
Just visit http://offload.limbar.com for details.
I'll answer this in stages:
1. Yes, you can change your videos to mode 777 if you would like. That will not affect the script.
2. If you are wanting to edit a video file and cannot overwrite the video via FTP, then changing the file to 777 so that you can do so is the wrong approach. What this means is that your web server is writing all of your files as a user other than the one you are logging into your FTP with. I would (from a security stand point) look into changing the user that Apache is using to write your files as versus changing the mode to 777.
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
Any suggestion on how you'd change the Apache that is using to write my files? (I'm a bit of a novice to that, but can tell my server people what to do, with your help ;-)
SPEED UP YOUR VSHARE SITE!
Speed up your vshare site by "offloading" your images and video thumbs!
Just visit http://offload.limbar.com for details.
You will need to have them install mod_suexec (or make sure that it is installed). From there, they can add the following to your httpd.conf for your site:
SuexecUserGroup UserNameGoesHere UserGroupGoesHere
This way, whenever Apache calls the php binary, php will be executed as the use listed above and, thus, anything that is called by php will be run as the user above. This way, all of your videos will be created under your user and not the user that the Apache service is running under.
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
And this will not effect the user's link? (The one that says uploaded by: username) ?
SPEED UP YOUR VSHARE SITE!
Speed up your vshare site by "offloading" your images and video thumbs!
Just visit http://offload.limbar.com for details.
No. Those are two completely different things.
vShare Solutions
Custom vShare Modules and Services
Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!
Bookmarks