Re: default permissions when scping files

From: RobR (nospam_at_nospam.com)
Date: 10/04/05


Date: Tue, 04 Oct 2005 14:27:24 GMT


"RobR" <nospam@nospam.com> wrote in message news:CGv0f.22$0c3.15@trndny06...
> is there a way for me to either set default permissions for
> a specific account so that any new files uploaded via that
> username take on specific permissions, or barring that,
> a way to tell scp what file permissions to set on the
> remote machine? thanks
>
>

i was reading about umask, but what it says is
 To calculate permissions which will result from specific UMASK
values, subtract the UMASK from 666 for files and from 777 for directories.

that doesn't help me since the least restrictive setting would be
666. i need everything to be 775 by default.



Relevant Pages

  • Re: viewing asp pages from other machine
    ... Modify the permissions using front page if it is a Front Page website. ... don't ever modify the IUSR_account in any way. ... > but it asks for a username and password for him to open ...
    (microsoft.public.inetserver.iis)
  • Re: Mapping drive issue
    ... Have the permissions on the remote share been changed from the default ??? ... > My account is set up as a domain user. ... > on our network I'm asked for a username and password. ...
    (microsoft.public.win2000.active_directory)
  • Re: Mapping drive issue
    ... Have the permissions on the remote share been changed from the default ??? ... > My account is set up as a domain user. ... > on our network I'm asked for a username and password. ...
    (microsoft.public.win2000.security)
  • Re: File Sharing (again - sorry, Pd)
    ... InTerminal, type umask. ... Back in the good old days, Mac OS X user accounts ... The reason that the file permissions are "resetting" each time the ... that folder inherit the ACLs from the folder. ...
    (uk.comp.sys.mac)
  • Re: umask?
    ... setgid permissions used on your files and directories. ... the default umask value set on your system to 027, ... The shell does simple maths to determine what permissions are used on ... On a directory the maximum permissions will be drwxrwxrwx. ...
    (Fedora)