Re: website permissions and ownership

2021-02-02 Thread Kenneth Parker
On Tue, Feb 2, 2021, 2:10 AM Richard Hector wrote: > Hi all, > > I'm reviewing how I set up websites (mostly Wordpress at the moment), > and would like other opinions on what I'm planning is sane. > > My plan is to have a user eg "mysite" that owns all/most of the standard > files and directories

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 10:42 pm, Jeremy Ardley wrote: On 2/2/21 5:32 pm, Jeremy Ardley wrote: On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 5:32 pm, Jeremy Ardley wrote: On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but it appears that it won't work as expected

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 10:37 pm, john doe wrote: On 2/2/2021 9:55 AM, Richard Hector wrote: On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning i

Re: website permissions and ownership

2021-02-02 Thread john doe
On 2/2/2021 9:55 AM, Richard Hector wrote: On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 4:55 pm, Richard Hector wrote: What you are doing sounds pretty O.K. Though I personally also use SELinux for web facing services. Thanks. I haven't looked in to SELinux. I looked at AppArmor, but it appears that it won't work as expected in an LXC container, which is where I ru

Re: website permissions and ownership

2021-02-02 Thread Richard Hector
On 2/02/21 9:11 pm, Jeremy Ardley wrote: On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standa

Re: website permissions and ownership

2021-02-02 Thread Jeremy Ardley
On 2/2/21 3:09 pm, Richard Hector wrote: Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standard files and directories. The webserver

website permissions and ownership

2021-02-01 Thread Richard Hector
Hi all, I'm reviewing how I set up websites (mostly Wordpress at the moment), and would like other opinions on what I'm planning is sane. My plan is to have a user eg "mysite" that owns all/most of the standard files and directories. The webserver (actually php-fpm) would run as "mysite-run

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): Is there a global setting to set the umask for all applications to use 002? Probably not. If the application insists on giving a file permissions, let's say, 0600 you can't forbid it with umask. With umask you can only prohibit them from giving some permissions. Not the other

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Rishi
> > Is there a global setting to set the umask for all applications to use 002? > > Probably not. > If the application insists on giving a file permissions, let's say, 0600 > you can't forbid it with umask. With umask you can only prohibit them > from giving some permissions. Not the other way arou

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): By setting the umask 002 in /etc/profile my problem is resolved as far as I create files and folder using Nautilus or a bash console. :-( The problem still persists if I create folders or save files (attachments) using applications like Kmail, Mozilla, or Konqueror. :-( Is t

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Rishi
> The second matter is harder. You have some options tho. > You can try to set apropriate umask for your users. That's a good start. > If it doesn't help, you can try to apply some acl-magic (AFAIR, there is > a possibility to set up a default permission scheme for directory with ACLs) Hi Thanks

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-26 Thread Mariusz Kruk
Rishi napisał(a): Hi I'm not sure if this is the right forum for this question. If it is not, I would be grateful to anyone that would be kind enough to point to me appropriate forum so that I can take this query there instead. I need to retain the same file permissions and ownership a

retaining file permissions and ownership across sub-directories in Linux

2005-09-26 Thread Rishi
Hi I'm not sure if this is the right forum for this question. If it is not, I would be grateful to anyone that would be kind enough to point to me appropriate forum so that I can take this query there instead. I need to retain the same file permissions and ownership across sub-directori

Re: permissions and ownership

1997-11-25 Thread Jens B. Jorgensen
Martin Bialasinski wrote: > [ lengthy helpful information truncated ] > > PPS Where do people learn to "xauth +"? Would having a file that explains > what the Right Thing (tm) to do is be a good idea? Something that would get > installed with Debian's X11 packages, or something... Even better,

Re: permissions and ownership

1997-11-25 Thread Martin Bialasinski
I dug up an old message which might be interesting as well. Ciao, Martin --- On Jun 21, Gernot Bauer wrote > > Hi, > > I recently upgraded my Xfree setup to 3.3 from unstable. But now I seem > > to have some problems.

Re: permissions and ownership

1997-11-25 Thread David Stern
Hi, Understanding this X permission stuff was confounded by the limited amount of information available in /usr/doc , man pages, regular and mini HOWTO's, and even my books offered virtually nil. Undeterred, I was compelled to find out about all this xauh, xhost, ssh stuff, so I set out on a '