Web hosting, file ownership and permissions

2019-12-20 Thread Richard Hector
Hi all, I'm trying to work out the optimal ownership and permissions for web hosting, where the site owner (or their developers etc) need access to install code, themes etc, and read logs. I also generally prefer sites not to be able to write their own code - I know the likes of WordPress don't n

Re: File ownership problem using removeable media

2018-12-28 Thread tomas
On Fri, Dec 28, 2018 at 09:05:54AM -0600, Richard Owlett wrote: [...] > It demonstrates the problem of Linux's jargon[1]. Linux's jargon has no problems ;-) > That file has 32 entries. Only 2 are relate to my problem ["richard" > & "root"]. How would you know? Perhaps the other 30 users are bu

Re: File ownership problem using removeable media

2018-12-28 Thread Richard Owlett
On 12/27/2018 07:34 AM, to...@tuxteam.de wrote: On Thu, Dec 27, 2018 at 06:48:51AM -0600, Richard Owlett wrote: On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: [...] Linux intrinsically assumes one machine has multiple users.

Re: File ownership problem using removeable media

2018-12-28 Thread Greg Wooledge
On Sat, Dec 29, 2018 at 12:13:23AM +1100, David wrote: > The command > awk -F: '{print $1}' /etc/passwd > will display all the known users on your machine. A better (more general) one would be: getent passwd | awk -F: '{print $1}' /etc/passwd will be complete for many systems, but not for all sy

Re: File ownership problem using removeable media

2018-12-28 Thread David
On Thu, 27 Dec 2018 at 23:49, Richard Owlett wrote: > > {I am the ONLY user on any of the machines.} Have you checked? The command awk -F: '{print $1}' /etc/passwd will display all the known users on your machine. The commands 'ps aux' or top or htop will show active users in the USER column.

Re: File ownership problem using removeable media

2018-12-27 Thread tomas
On Thu, Dec 27, 2018 at 06:48:51AM -0600, Richard Owlett wrote: > On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: > >On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: [...] > >>Linux intrinsically assumes one machine has multiple users. > > > >...and it is right in its assumption. >

Re: File ownership problem using removeable media

2018-12-27 Thread Richard Owlett
On 12/25/2018 11:22 AM, to...@tuxteam.de wrote: On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: On 12/24/2018 05:50 AM, Richard Owlett wrote: ... The discussion so far has caused me to wonder if I have been conflating symptoms. I think I've an idea of how to test for that -- mo

Re: File ownership problem using removeable media

2018-12-25 Thread Felix Miata
Richard Owlett composed on 2018-12-23 06:51 (UTC-0600): ... Not a substitute for gaining and utilizing understanding of chown, chmod, chacl, sticky bits and the rest of file access and permissions, but a way to lessen the pain in the meantime: Put the files to be transferred into an archive (.zi

Re: File ownership problem using removeable media

2018-12-25 Thread Martin
Am 23.12.18 um 13:51 schrieb Richard Owlett: > I use USB drives to transfer files between systems (sneakernet). > All systems have only one user(richard). It was created during installation. > > The drives are either ext2 or ext4 formatted. > All files were in /user/richard on source machine Are

Re: File ownership problem using removeable media

2018-12-25 Thread David Christensen
On 12/25/18 8:06 AM, Richard Owlett wrote: On 12/24/2018 05:50 AM, Richard Owlett wrote: ... The discussion so far has caused me to wonder if I have been conflating symptoms. I think I've an idea of how to test for that -- more later. Preliminary tests indicate that is likely. I will have t

Re: File ownership problem using removeable media

2018-12-25 Thread tomas
On Tue, Dec 25, 2018 at 10:06:04AM -0600, Richard Owlett wrote: > On 12/24/2018 05:50 AM, Richard Owlett wrote: > >... > > > >The discussion so far has caused me to wonder if I have been > >conflating symptoms. I think I've an idea of how to test for that > >-- more later. > > Preliminary tests in

Re: File ownership problem using removeable media

2018-12-25 Thread Richard Owlett
On 12/24/2018 05:50 AM, Richard Owlett wrote: ... The discussion so far has caused me to wonder if I have been conflating symptoms. I think I've an idea of how to test for that -- more later. Preliminary tests indicate that is likely. I will have to get some new flash drives to track my tests

Re: File ownership problem using removeable media

2018-12-24 Thread tomas
On Mon, Dec 24, 2018 at 05:50:15AM -0600, Richard Owlett wrote: > On 12/23/2018 03:25 PM, to...@tuxteam.de wrote: > >On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: > >>On 2018-12-23 17:10, to...@tuxteam.de wrote: > > > >[...] > > > >>>And you do that after each and every mount? > >>> >

Re: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett
On 12/23/2018 03:06 PM, David Christensen wrote: On 12/23/18 4:51 AM, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files wer

Re: File ownership problem using removeable media

2018-12-24 Thread Richard Owlett
On 12/23/2018 03:25 PM, to...@tuxteam.de wrote: On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: On 2018-12-23 17:10, to...@tuxteam.de wrote: [...] And you do that after each and every mount? Cheers -- tomás well no, I didn't read properly and was trying to be helpful without un

Re: File ownership problem using removeable media

2018-12-23 Thread tomas
On Sun, Dec 23, 2018 at 05:46:17PM +, mick crane wrote: > On 2018-12-23 17:10, to...@tuxteam.de wrote: [...] > >And you do that after each and every mount? > > > >Cheers > >-- tomás > well no, I didn't read properly and was trying to be helpful without > understanding what the problem was I

Re: File ownership problem using removeable media

2018-12-23 Thread David Christensen
On 12/23/18 4:51 AM, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 17:10, to...@tuxteam.de wrote: On Sun, Dec 23, 2018 at 04:41:24PM +, mick crane wrote: [...] >find /home/richard -type d -exec chmod 750 {} \; >find /home/richard -type f -exec chmod 640 {} \; >chown -R richard /home/richard*; >chgrp -R richard /home/richard*; [sigh] missed

Re: File ownership problem using removeable media

2018-12-23 Thread tomas
On Sun, Dec 23, 2018 at 04:41:24PM +, mick crane wrote: [...] > >find /home/richard -type d -exec chmod 750 {} \; > >find /home/richard -type f -exec chmod 640 {} \; > >chown -R richard /home/richard*; > >chgrp -R richard /home/richard*; > > [sigh] missed off the slashes > > >chown -R richa

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 14:38, mick crane wrote: On 2018-12-23 12:51, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user

Re: File ownership problem using removeable media

2018-12-23 Thread mick crane
On 2018-12-23 12:51, Richard Owlett wrote: I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_

Re: File ownership problem using removeable media

2018-12-23 Thread Pascal Hambourg
Le 23/12/2018 à 13:51, Richard Owlett a écrit : I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _o

File ownership problem using removeable media

2018-12-23 Thread Richard Owlett
I use USB drives to transfer files between systems (sneakernet). All systems have only one user(richard). It was created during installation. The drives are either ext2 or ext4 formatted. All files were in /user/richard on source machine They _often_ [but not always] are seen as owned by 'root',

Re: Wondering why you have IMAP problems - file ownership requirements changed

2008-12-16 Thread Alan Chandler
On Tuesday 16 Dec 2008, Ron Johnson wrote: > > How did you create the Maildirs to begin with? > > I ask that because and when I created mine 3+ years ago using > maildirmake(1), permissions were ${USER}:${USER}. (I run sid, but > etch was still in testing back then, so whatever veresion of > cour

Re: Wondering why you have IMAP problems - file ownership requirements changed

2008-12-16 Thread Ron Johnson
On 12/16/08 11:42, Alan Chandler wrote: I would just like to report that I upgraded by server from Etch to Lenny last weekend. I then was in a position where my IMAP server failed to deliver the data. I first saw the problem in squirrelmail, which gave the helpful answer that it could not con

Wondering why you have IMAP problems - file ownership requirements changed

2008-12-16 Thread Alan Chandler
I would just like to report that I upgraded by server from Etch to Lenny last weekend. I then was in a position where my IMAP server failed to deliver the data. I first saw the problem in squirrelmail, which gave the helpful answer that it could not connect, but I couldn't find any diagnostic

Re: how do i control file ownership in usbmount?

2005-11-22 Thread Paul E Condon
On Mon, Nov 21, 2005 at 07:15:23PM -0500, Joseph H. Fry wrote: > On Monday 21 November 2005 4:54 pm, Paul E Condon wrote: > > I have just installed usbmount. It is great at handling my > > memory stick, but I have a problem: > > > > The memory stick contains, I believe a vfat file system. > > When

Re: how do i control file ownership in usbmount?

2005-11-22 Thread thierry
Joseph H. Fry wrote: On Monday 21 November 2005 4:54 pm, Paul E Condon wrote: I have just installed usbmount. It is great at handling my memory stick, but I have a problem: The memory stick contains, I believe a vfat file system. When it is mounted with usbmount, the files on it appear to b

Re: how do i control file ownership in usbmount?

2005-11-21 Thread Joseph H. Fry
On Monday 21 November 2005 4:54 pm, Paul E Condon wrote: > I have just installed usbmount. It is great at handling my > memory stick, but I have a problem: > > The memory stick contains, I believe a vfat file system. > When it is mounted with usbmount, the files on it appear > to belong to user:gro

how do i control file ownership in usbmount?

2005-11-21 Thread Paul E Condon
I have just installed usbmount. It is great at handling my memory stick, but I have a problem: The memory stick contains, I believe a vfat file system. When it is mounted with usbmount, the files on it appear to belong to user:group = root:root . However, vfat does not, I think, contain any user:

Re: dpkg and file ownership

2003-11-27 Thread Alf Werder
On Thu, 2003-11-27 at 05:26, Marc Wilson wrote: > On Wed, Nov 26, 2003 at 02:25:32PM +0100, Alf Werder wrote: > > How does dpkg handle the upgrade of a package, if file ownership und > > access permissions of an installed file was changed manually? Does it > > keep the modif

Re: dpkg and file ownership

2003-11-26 Thread Marc Wilson
On Wed, Nov 26, 2003 at 02:25:32PM +0100, Alf Werder wrote: > How does dpkg handle the upgrade of a package, if file ownership und > access permissions of an installed file was changed manually? Does it > keep the modified state, asks me or just reinstall the old ownership and > access

dpkg and file ownership

2003-11-26 Thread Alf Werder
Hi, How does dpkg handle the upgrade of a package, if file ownership und access permissions of an installed file was changed manually? Does it keep the modified state, asks me or just reinstall the old ownership and access permissions? The question arises, because I want to give some users of my

Re: NFS stability and file ownership problem

2000-10-02 Thread G.Angely
Did you receive any advice? (I read your mail about a month later) About ownership problem: did you install on the client machine the ugidd deamon (provided by the ugidd package). This happens to work when you specify the option "map_daemon" for the related exported files/dirs. Maybe it will help

Re: file ownership

2000-09-20 Thread Olaf Meeuwissen
Ethan Benson <[EMAIL PROTECTED]> writes: > On Tue, Sep 19, 2000 at 09:44:45PM +0100, john gennard wrote: > > In Potato, I'm installing qt-2.0.1 from a tar.gz. After uncompressing, > > unpacking and re-naming the directory 'qt', I checked its permissions > > and found owner and group given as '508

Re: file ownership

2000-09-19 Thread Ethan Benson
On Tue, Sep 19, 2000 at 09:44:45PM +0100, john gennard wrote: > In Potato, I'm installing qt-2.0.1 from a tar.gz. After uncompressing, > unpacking and re-naming the directory 'qt', I checked its permissions > and found owner and group given as '508'. On a previous occasion, > when compiling some

file ownership

2000-09-19 Thread john gennard
In Potato, I'm installing qt-2.0.1 from a tar.gz. After uncompressing, unpacking and re-naming the directory 'qt', I checked its permissions and found owner and group given as '508'. On a previous occasion, when compiling some other software (forgotten what), I noticed its owner and group was sho

NFS stability and file ownership problem.

2000-09-02 Thread Scott Bragg
uctant to do so. Currently I have lowered the rsize and wsize variables that mount uses to mount the drive on other machines (from 8192 to 4096) and although the number of incidents that the drive stops responding has fallen a little, the problem has not gone away. PROBLEM TWO - FILE OWNERSHIP FOR

netstd installs with wrong file ownership?

1999-09-03 Thread Jose Marin
Hi all, I just upgraded the package netstd v. 3.07-8 on my machine (potato) and it turns out that it got installed with ownership "jose.jose" (my username) instead of root.root. That happened for all files, not only the binaries. I'm pretty sure that I was running dselect as root (i.e. no fake

Re: ACK! file ownership screwup!

1998-06-28 Thread Manoj Srivastava
Hi, >>"sjc" == sjc <[EMAIL PROTECTED]> writes: sjc> That is it SO FAR. I am wondering if anyone has any advise? sjc> Would it be possible for a few people to give me an ls -lR of /usr /var sjc> /etc /boot /dev /bin /sbin ? sjc> (ahd whetever else could be helpfull...but I think I got em all..

Re: ACK! file ownership screwup!

1998-06-28 Thread Jaakko Niemi
>> >> --envbJBWh7q8WU6mo >> Content-Type: text/plain; charset=us-ascii >> Content-Transfer-Encoding: quoted-printable >> >> Ok now I pulled a "Good One". >> My hard dirve "died" 2 days ago...it was at 3 am...so I went to bed=20 >> The next day I boguht a new drive on my way home from work (just s

ACK! file ownership screwup!

1998-06-28 Thread sjc
Ok now I pulled a "Good One". My hard dirve "died" 2 days ago...it was at 3 am...so I went to bed The next day I boguht a new drive on my way home from work (just slightly larger one) My thought was to restore form my month old backups and be done with it... to my surprize the old drive worked ag