Re: [SLE] umask problem... I think (SOLVED)

From: Allen Seelye (alleninmt_at_yahoo.com)
Date: 02/14/04

  • Next message: jaska: "Re: [SLE] Keymapping US to NO"
    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
    

  • Next message: jaska: "Re: [SLE] Keymapping US to NO"

    Relevant Pages

    • Re: File copied by FTP not inheriting permissions from parent
      ... so you could try copying the file and then deleting the original. ... >> I have a situation whereby I copy files using FTP to a server. ... >> set of permissions that are different to those of the FTP directory. ...
      (microsoft.public.win2000.security)
    • Re: File copied by FTP not inheriting permissions from parent
      ... > I have a situation whereby I copy files using FTP to a server. ... > set of permissions that are different to those of the FTP directory. ... > security tab, unselect "Allow inheritable permissions", reselect it an ...
      (microsoft.public.win2000.security)
    • Re: FTP local & remote problem
      ... Try connect to the ip via ftp.exe at command prompt. ... Bernard Cheah ... This ftp directory is the same as a web virtual directory which works fine ... so I presum all mt permissions are set right. ...
      (microsoft.public.inetserver.iis.ftp)