Permission

See all posts Reply

Permission new!
by MAtt, 17 years, 4 months ago
Hi When the files are uploaded they are given permission 0644, how can we change their default position to 755?Reply
Re: Permission new!
by colin, 17 years, 4 months ago
The class doesn't have such a feature.

In fact, this can be done after the upload, just using PHP'chmod() function.

But it also depends on the permissions that are set for PHP on your server, as well as the permissions on the directory.

I might include in the class a setting to chmod uploaded files, for for obvious security reason, it will default to 644.Reply
Re: Permission new!
by Roger, 17 years, 3 months ago
Would be awesome! Please integrate the file-chmod feature.
btw: your class rocks! Many thanks to you!Reply