Mailinglist Archive: opensuse (2216 mails)
| < Previous | Next > |
Re: [opensuse] ftp permissions
- From: "Theo v. Werkhoven" <theo@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Sep 2007 15:48:51 +0200
- Message-id: <20070929134851.GA9189@xxxxxxxxxxxxxxxx>
Sat, 29 Sep 2007, by lynn@xxxxxxxxxxxx:
> On Friday 28 September 2007 22:44, Sloan wrote:
> > primm wrote:
> > > I created a user ftpadmin and a group ftpadmin. I made ftpadmin's home
> > > folder /srv/www/htdocs
> > >
> > > everything under /htdocs is owned by ftpadmin:ftpadmin
> > >
> > > I can now ftp remotely to the /htdocs folder. No problem
> > >
> > > Having made these changes I can no longer see any web pages.
> > >
> > > What do I need to do to be able to both ftp and see webpages? Who has to
> > > own what?
> >
> > chgrp -R www /srv/www/htdocs
> > chmod -R g+rx /srv/www/htdocs
> >
> > Joe
>
> OK. I can now both use ftp and see web pages. Brilliant. Saved me loads time.
>
> Just one more question. /srv/www/htdocs is now (user:group) ftpadmin:www
>
> Is that correct? Or doesn't it matter.
It is correct.
One observation: for a Linux user and website admin you seem to know
very little about the Unix permission schemes.
Do yourself (and possible users of your site) a favor, and make
yourself familiar with these (and other) basics. Disaster always
strikes at the least convenient times, i.e., when no-one can help
you but yourself..
Theo
--
Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131
SUSE 10.2 + Jabber: muadib@xxxxxxxxxxxxxxxx
Kernel 2.6.20 + See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> On Friday 28 September 2007 22:44, Sloan wrote:
> > primm wrote:
> > > I created a user ftpadmin and a group ftpadmin. I made ftpadmin's home
> > > folder /srv/www/htdocs
> > >
> > > everything under /htdocs is owned by ftpadmin:ftpadmin
> > >
> > > I can now ftp remotely to the /htdocs folder. No problem
> > >
> > > Having made these changes I can no longer see any web pages.
> > >
> > > What do I need to do to be able to both ftp and see webpages? Who has to
> > > own what?
> >
> > chgrp -R www /srv/www/htdocs
> > chmod -R g+rx /srv/www/htdocs
> >
> > Joe
>
> OK. I can now both use ftp and see web pages. Brilliant. Saved me loads time.
>
> Just one more question. /srv/www/htdocs is now (user:group) ftpadmin:www
>
> Is that correct? Or doesn't it matter.
It is correct.
One observation: for a Linux user and website admin you seem to know
very little about the Unix permission schemes.
Do yourself (and possible users of your site) a favor, and make
yourself familiar with these (and other) basics. Disaster always
strikes at the least convenient times, i.e., when no-one can help
you but yourself..
Theo
--
Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131
SUSE 10.2 + Jabber: muadib@xxxxxxxxxxxxxxxx
Kernel 2.6.20 + See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |