Displaying 5 results from an estimated 5 matches for "file_permiss".
2006 Feb 01
1
ActiveRecord::FileSystem???
Rails makes working with databases easy with ActiveRecord::Base.
Has anyone written a rails system for working with files so we can do
things like:
class User < ActiveRecord::FileSystem
root_directory "c:/uploads"
file_permissions
directory_permissions
validates_filetype
validates_filesize
validates_filename
before_save
I know about file_column, but I don''t want to use a database.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 05
3
Uploading/file_column and Mongrel
Howdy,
I recently switched an app to Mongrel and since the switch, when I upload
files using the file_column plug-in, the files are not uploaded with the
correct permissions.
I want something like this:
-rw-rw-rw- file.jpg
But I am getting:
-rw------- file.jpg
So, of course the files aren''t being served up by the Web server.
Mongrel is running as the ''mongrel''
2017 Dec 03
0
Apache and web content permissions
...required access'. There's two
functional types of users we care about, the one executing the PHP
code (probably apache or php-fpm) and admins like yourself with
FTP/shell access. Upstream wordpress documents application write
requirements at
https://codex.wordpress.org/Hardening_WordPress#File_Permissions -
read it to know where the web server will expect write access, but
don't follow the instructions - especially the numbers for chmod - by
rote!
On Sat, Dec 2, 2017 at 3:30 AM, Nicolas Kovacs <info at microlinux.fr> wrote:
>
> Hi,
>
> Until a few months ago, when I had to...
2017 Dec 02
7
Apache and web content permissions
Hi,
Until a few months ago, when I had to setup a web server under CentOS, I
assigned (I'm not sure about the correct english verb for "chown"ing)
all the web pages to the apache user and group. To give you an example,
let's say I have a static website under /var/www/myserver on a CentOS
server running Apache. Then I would configure permissions for the web
content like this:
#
2009 May 03
6
[RFC] The reflink(2) system call.
Hi everyone,
I described the reflink operation at the Linux Storage &
Filesystems Workshop last month. Originally implemented as an
ocfs2-specific ioctl, the consensus was that it should be a syscall from
the get-go. Here's some first-cut patches.
For people who have not seen reflink, either at LSF or on the
ocfs2 wiki, the first patch contains
Documentation/filesystems/reflink.txt to