* RE: Setting permissions via SSH upload to 777
[not found] <15DCB059E3814E448A1CFFF04F78F7A703917246@s99mail08>
@ 2004-10-13 19:11 ` Eve Atley
0 siblings, 0 replies; 4+ messages in thread
From: Eve Atley @ 2004-10-13 19:11 UTC (permalink / raw)
To: 'Little, Chris'; +Cc: linux-newbie
Will that allow any read/write? I suppose not at 555. Is there another
way to give write ability, short of the user setting it him/herself?
At any rate, how can I go about giving the most permissions upon upload?
Thanks again,
Eve
-----Original Message-----
From: Little, Chris [mailto:Chris.Little@okdhs.org]
Sent: Wednesday, October 13, 2004 3:07 PM
To: 'eatley@wowcorp.com'
Subject: RE: Setting permissions via SSH upload to 777
At best, I believe, you will get 555. I don't think it will allow the
execute bit to be set.
-----Original Message-----
From: Eve Atley [mailto:eatley@wowcorp.com]
Sent: Wednesday, October 13, 2004 1:43 PM
To: linux-newbie@vger.kernel.org
Subject: Setting permissions via SSH upload to 777
When someone SSH's into our Redhat Linux box, all files that are
uploaded are set to read-only. How can I set it so files are
automatically set to 777, or 775 at the very least?
Thanks,
Eve
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in the body of a message to majordomo@vger.kernel.org More majordomo
info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Setting permissions via SSH upload to 777
@ 2004-10-13 19:13 Little, Chris
0 siblings, 0 replies; 4+ messages in thread
From: Little, Chris @ 2004-10-13 19:13 UTC (permalink / raw)
To: linux-newbie
Sorry. The reply-to wasn't set to the list and I didn't check.
Brain outgassing there. I should have said 666, not 555. Yes it will allow
r/w, just not execute.
-----Original Message-----
From: Eve Atley [mailto:eatley@wowcorp.com]
Sent: Wednesday, October 13, 2004 2:11 PM
To: 'Little, Chris'
Cc: linux-newbie@vger.kernel.org
Subject: RE: Setting permissions via SSH upload to 777
Will that allow any read/write? I suppose not at 555. Is there another
way to give write ability, short of the user setting it him/herself?
At any rate, how can I go about giving the most permissions upon upload?
Thanks again,
Eve
-----Original Message-----
From: Little, Chris [mailto:Chris.Little@okdhs.org]
Sent: Wednesday, October 13, 2004 3:07 PM
To: 'eatley@wowcorp.com'
Subject: RE: Setting permissions via SSH upload to 777
At best, I believe, you will get 555. I don't think it will allow the
execute bit to be set.
-----Original Message-----
From: Eve Atley [mailto:eatley@wowcorp.com]
Sent: Wednesday, October 13, 2004 1:43 PM
To: linux-newbie@vger.kernel.org
Subject: Setting permissions via SSH upload to 777
When someone SSH's into our Redhat Linux box, all files that are
uploaded are set to read-only. How can I set it so files are
automatically set to 777, or 775 at the very least?
Thanks,
Eve
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in the body of a message to majordomo@vger.kernel.org More majordomo
info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Remote X
@ 2004-04-13 17:29 Little, Chris
2004-10-13 18:43 ` Setting permissions via SSH upload to 777 Eve Atley
0 siblings, 1 reply; 4+ messages in thread
From: Little, Chris @ 2004-04-13 17:29 UTC (permalink / raw)
To: linux-newbie
perhaps even better is http://www.realvnc.com
depending on your distribution, you probably already have the server
installed. at your linux box just type "vncserver" it'll ask you for a
password for the session.
then from your webbrowser, http://your.linux.ip.address:580x where "x" is
the display number.
> -----Original Message-----
> From: Beolach [mailto:beolach@comcast.net]
> Sent: Tuesday, April 13, 2004 12:00 PM
> To: Juan Facundo Suárez
> Cc: linux-newbie@vger.kernel.org
> Subject: Re: Remote X
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've never done this, so I don't have much info for you. But the one
> thing I can think of, is you might want to make sure you are using
> cygwin/X, not just cygwin. cygwin is just a port of the standard *nix
> console commands (ls, cp, cat, dd, etc.), whereas cygwin/X adds a port
> of the X Window System, including an X Server. For more info see
> <http://x.cygwin.com/>.
>
> Also note there a probably several other M$ Windows X Servers
> out there,
> but I personally have never used any, so I can't recommend
> one over any
> other.
>
> Good luck,
> Conway S. Smith
>
> Juan Facundo Suárez wrote:
> > Hi, i could do it. I am really happy about that.
> >
> > Now, what i need is to connect a window$ machine, as an X
> server, to a
> > session / window manager on a remote linux machine. I have
> heared about
> > cygwin / winx32. I am trying cygwin, but i dont understand
> how to set
> it up,
> > to use it, as an X server. Running the cygwin application, it opens
> > something too much like an "xterm". I can run many linux commands in
> there.
> > I tried to "XFree86" or "startx" commands, but nothing.
> Have i install
> an x
> > server on cygwin to make it work?. Any help?.
> >
> > Besides, i will try xwin32 too. If anyone can tell me
> something to "take
> > care" for using it, or any help, i will be very thaks.
> >
> > See you !
> >
> <snip>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAfBx3GL3AU+cCPDERAtYuAKDdTUsYHPx6anncsBCEuLIXxWgfPgCaA2qy
> C8DzqvJ88i/QWyUiORWkU98=
> =Ri9v
> -----END PGP SIGNATURE-----
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Setting permissions via SSH upload to 777
2004-04-13 17:29 Remote X Little, Chris
@ 2004-10-13 18:43 ` Eve Atley
2004-10-13 19:23 ` Ray Olszewski
0 siblings, 1 reply; 4+ messages in thread
From: Eve Atley @ 2004-10-13 18:43 UTC (permalink / raw)
To: linux-newbie
When someone SSH's into our Redhat Linux box, all files that are
uploaded are set to read-only. How can I set it so files are
automatically set to 777, or 775 at the very least?
Thanks,
Eve
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Setting permissions via SSH upload to 777
2004-10-13 18:43 ` Setting permissions via SSH upload to 777 Eve Atley
@ 2004-10-13 19:23 ` Ray Olszewski
0 siblings, 0 replies; 4+ messages in thread
From: Ray Olszewski @ 2004-10-13 19:23 UTC (permalink / raw)
To: eatley, linux-newbie
At 02:43 PM 10/13/2004 -0400, Eve Atley wrote:
>When someone SSH's into our Redhat Linux box, all files that are
>uploaded are set to read-only. How can I set it so files are
>automatically set to 777, or 775 at the very least?
First, you shouldn't. It is NEVER smart, from a security standpoint, to
create a *default* condition where a file is writable by someone other than
its owner. There are special situations in which you need to do this, of
course, but making it the system *default* for uploaded files -- especially
for executables, but even for config files -- is asking for trouble.
Second, are you talking here about scp transfers or something else? On a
case-by-case basis, a user of scp can (on the client end) use the -p flag
to preserve permissions so they match the settings on the source system.
Third, here I find that scp transfers default to 755 (or 644 if the source
file wasn't executable), a decent default setting. This is (or should be)
derived from the default umask setting, which on my system is set in
/etc/profile ... but can be modified on a user-by-user basis in
/etc/.bash_profile. The method of setting these defaults varies bit among
Linux distrbutions (I'm running Debian-Sid here), so Red Hat may use
.profile or .bashrc or some other variant for the user-level settings, and
/etc/login.defs for the systemwide settings. This is also shell specific,
so the details will be different if you don't use bash.
There is also a command-line app "umask" you can use to set this value for
a user. The only man page I can find for umask is a section-2 (programming
calls) entry, but it does explain how umask values relate to permissions.
BTW, I just saw your other message, and that respondant had write and
execute mixed up. 555 is r-xr-xr-x; 666 is rw-rw-rw-.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-13 19:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <15DCB059E3814E448A1CFFF04F78F7A703917246@s99mail08>
2004-10-13 19:11 ` Setting permissions via SSH upload to 777 Eve Atley
2004-10-13 19:13 Little, Chris
-- strict thread matches above, loose matches on Subject: below --
2004-04-13 17:29 Remote X Little, Chris
2004-10-13 18:43 ` Setting permissions via SSH upload to 777 Eve Atley
2004-10-13 19:23 ` Ray Olszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox