Re: [SLE] umask problem... I think (SOLVED)
From: Allen Seelye (alleninmt_at_yahoo.com)
Date: 02/14/04
- Previous message: Damon Register: "Re: [Fwd: Re: [SLE] stealth VNC connection]"
- In reply to: Anders Johansson: "Re: [SLE] umask problem... I think"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: suse-linux-e@suse.com Date: Sat, 14 Feb 2004 09:13:22 -0800
On Saturday 14 February 2004 5:06 am, Anders Johansson wrote:
> On Fri, 2004-02-13 at 20:58 -0800, Allen Seelye wrote:
> > I have an ftp directory in which I want every file uploaded to be
> > readable by group and others. I believe the command is umask 644. This
> > should make everything created in that directory have -rw-r--r--
> > permissions right?
>
> Wrong, you have umask backwards. umask should be the bits you want to
> mask out. For permissions 644, the umask should be 133
>
> > I've
> > done this and a umask from that directory brings back a 0644, but
> > everything I upload to that directory is only read/writable by the user
> > that uploaded the file.
> > I have to be doing this wrong.
>
> Most ftp servers set the permissions on uploaded files in the
> configuration. Which server are you using?
That was it. It'm using vsftpd. There was an option in the conf file that I
must have missed the frist 5 times I looked it over yesterday. it's working
great now thank you.
-- Allen Seelye alleninmt@yahoo.com Linux user since 1999 WWJWD What Would John Wayne Do? -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Damon Register: "Re: [Fwd: Re: [SLE] stealth VNC connection]"
- In reply to: Anders Johansson: "Re: [SLE] umask problem... I think"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|