public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* chmod
@ 2001-02-28  0:33 Mag. M. Faffelberger
  2001-02-28  1:52 ` chmod Corinna Vinschen
  0 siblings, 1 reply; 21+ messages in thread
From: Mag. M. Faffelberger @ 2001-02-28  0:33 UTC (permalink / raw)
  To: cygwin

hi,

where can i find a listing of poosible modes and their meanings for "chmod"

thanx
matthias

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* chmod
@ 2001-03-21  7:07 Antanas Romas
  2001-03-21  7:14 ` chmod Michael Erdely
  0 siblings, 1 reply; 21+ messages in thread
From: Antanas Romas @ 2001-03-21  7:07 UTC (permalink / raw)
  To: cygwin; +Cc: antanas

Earnie,

I was using chmod command; however, I could not change permissions as it is 
seen below (a copy from a PC screen):

ANTANAS-DATOR:test>ls -l
total 0
-rw-r--r--   1 500      544             5 Mar 21 16:00 test
ANTANAS-DATOR:test>chmod 777 test
ANTANAS-DATOR:test>ls -l
total 0
-rw-r--r--   1 500      544             5 Mar 21 16:00 test
ANTANAS-DATOR:test>

what can be wrong? Maybe I am typing something incorrectly?

Thank you in advance,
With best regards,
Antanas


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* chmod
@ 2001-04-05  7:41 Simha, Shuba
  2001-04-05  8:04 ` chmod Larry Hall (RFK Partners, Inc)
  2001-04-05  8:10 ` chmod Corinna Vinschen
  0 siblings, 2 replies; 21+ messages in thread
From: Simha, Shuba @ 2001-04-05  7:41 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

I downloaded cygwin for my winNT 4. 
I am using SSH & SCP from Cygwin to connect to a remote host(with a
different username as that of cygwin) & get some files. But when I do scp,
it says "permission denied". I tried changing the permissions of the
homedir, but since chmod does not work on cygwin (which is very
disgusting!!), I am stuck here !!
I read all the documentation, FAQ & user guides about chmod. I badly want
scp to work, please help...
What about ntea? How do I set this environment variable? I want to make
clear that this client machine is used for heavy applications, that are
memory & space intensive. I understand that ntea creates a file that grows
extensively! Are there any possible solutions for my problem??

Any help asap is highly appreciated.

Thanks..
SS


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* chmod
@ 2001-04-18  9:15 rhenderson
  2001-04-18  9:22 ` chmod Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 21+ messages in thread
From: rhenderson @ 2001-04-18  9:15 UTC (permalink / raw)
  To: cygwin

Is there anyway to have a file perm  read 600 (-rw------)?

Thanks,

Rick Henderson
Windham School District
(936) 291-5356



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: chmod
@ 2001-04-18  9:24 Simha, Shuba
  0 siblings, 0 replies; 21+ messages in thread
From: Simha, Shuba @ 2001-04-18  9:24 UTC (permalink / raw)
  To: 'rhenderson@alpha1.net', cygwin

See:
http://www.cygwin.com/faq/faq_4.html#SEC37

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html


- Shuba




-----Original Message-----
From: rhenderson [ mailto:rhenderson@alpha1.net ]
Sent: Wednesday, April 18, 2001 12:22 PM
To: cygwin@cygwin.com
Subject: chmod


Is there anyway to have a file perm  read 600 (-rw------)?

Thanks,

Rick Henderson
Windham School District
(936) 291-5356



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* chmod
@ 2001-10-24 10:20 Richard Mansfield
  2001-10-24 10:46 ` chmod Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 21+ messages in thread
From: Richard Mansfield @ 2001-10-24 10:20 UTC (permalink / raw)
  To: Michael Erdely

I am trying to install fetchmail in cygwin. (My laptop can't run XFree86.)
The problem I am having is that I can't get chmod to work to get the
proper permissions for the .fetchmailrc file!!!

melvin@WESTON ~
$ ls -l .fetchmailrc
-rw-r--r--    1 melvin   544            76 Apr 23  2001 .fetchmailrc

melvin@WESTON ~
$ chmod -v 0600 .fetchmailrc
mode of `.fetchmailrc' changed to 0600 (rw-------)

melvin@WESTON ~
$ ls -l .fetchmailrc
-rw-r--r--    1 melvin   544            76 Apr 23  2001 .fetchmailrc

melvin@WESTON ~
$



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* chmod
@ 2001-12-26 20:19 Facey Brian
  2001-12-26 20:30 ` chmod Christopher Faylor
  0 siblings, 1 reply; 21+ messages in thread
From: Facey Brian @ 2001-12-26 20:19 UTC (permalink / raw)
  To: cygwin

Dear Developers,

I am using cygwin 1.3.6-6 on Windows NT 4 Server SP 6 and cannot do a
chmod on a file.  The permissions just remain the same.  I even did a
chmod -v 600 on a file.  The output showed that the permissions had
changed.  However, when I did an ls -la, the permissions remained the
same.

Please advise.


Thanks,


Brian Facey

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: chmod
@ 2001-12-27 16:00 Sommer, Thorsten
  0 siblings, 0 replies; 21+ messages in thread
From: Sommer, Thorsten @ 2001-12-27 16:00 UTC (permalink / raw)
  To: 'Facey Brian'; +Cc: cygwin

Hi, Brian ...

> I am using cygwin 1.3.6-6 on Windows NT 4 Server SP 6 and cannot do a
> chmod on a file.  The permissions just remain the same.  I even did a
> chmod -v 600 on a file.  The output showed that the permissions had
> changed.  However, when I did an ls -la, the permissions remained the
> same.

I think you should investigate the CYGWIN environment variable
and its value "ntsec" ;-)

Greetings from Germany,
Th.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <880E371DA312D6119BFD00B0D02090C4496CA1@dinobot>]
* RE: chmod
@ 2002-10-16  5:43 Vince Hoffman
  0 siblings, 0 replies; 21+ messages in thread
From: Vince Hoffman @ 2002-10-16  5:43 UTC (permalink / raw)
  To: 'Kris Thielemans', CygWin Users' List

just tried with ntsec enabled. if run as ./foo.sh the script foo.sh will run
whether or not the executable bit is set. the only difference was that bash
wouldn't auto complete it for me when not marked as executable ;) 

> -----Original Message-----
> From: Kris Thielemans [mailto:kris.thielemans@csc.mrc.ac.uk]
> Sent: 16 October 2002 11:38
> To: CygWin Users' List; Andrei Cernea
> Subject: RE: chmod
> 
> 
> Hi Andrei,
> 
> we see only part of your problem here. However, if you're 
> asking on how to
> make cygwin recognise that a shell script is executable, you 
> should put
> #! /bin/sh
> as first line in the script. No chmod necessary (This is a 
> FAQ actually).
> (I don't know if chmod would work/is necessary with the ntsec feature
> enabled. Hopefully someone else can clarify this and put it in the
> FAQ/User's guide)
> 
> Kris Thielemans
> (kris.thielemans <at> ic.ac.uk)
> Imaging Research Solutions Ltd
> Cyclotron Building
> Hammersmith Hospital
> Du Cane Road
> London W12 ONN, United Kingdom
> 
> web site address: http://www.irsl.org/~kris
> >
> > Andrei --
> >
> > ...and then Andrei Cernea said...
> > %
> > % Hi!
> > %
> > % I am using Cygwin 2.05. I am emailing you because of this:
> > %
> > % ============================================
> > % > chmod --help
> > ...
> > %
> > % Report bugs to <bug-fileutils@gnu.org>.
> > % ============================================
> > %
> > % I noticed that in order for a file to have x rights on windows
> > it needs to
> > % have executable extension. That is, if I have a script 
> file with no
> > [snip]
> >
> > Well, yes and no...  If it has a .exe or .com or .bat 
> extension, then
> > it's considered obvious that it should be executable and so 
> the x bit is
> > set for you.  As I understand it, if you want to be able to 
> run a shell
> > script without having to use
> >
> >   bash /path/to/script
> >
> > then you'll need to set the x bit.  IIRC there's a way to 
> tell Windows
> > and the Cygwin DLL to recognize .sh extensions, just like it already
> > recognizes the other three, and then naming your shell scripts
> > appropriately will make them executable.  Note that I don't 
> think that
> > this is the same as typical file extensions, but I could be 
> wrong.  Then
> > you could tie .pl to perl and who knows what else, too.  Perhaps all
> > that's necessary to have the system honor the shebang line 
> is the x bit;
> > it's been a while since I was an active cygwin reader.
> >
> > The bottom line is that you should direct your question to 
> the cygwin
> > mailing list, where I've sent a copy of this message (Hi, 
> all! Long time,
> > no see :-) and to which I've directed followups.  Yes, the reporting
> > address is the bug-fileutils mailing list, but this isn't a bug but
> > instead a peculiarity of the cygwin environment.
> >
> >
> > HTH & HAND
> >
> > :-D
> > --
> > David T-G                      * There is too much animal courage in
> > (play) davidtg@justpickone.org * society and not sufficient 
> moral courage.
> > (work) davidtgwork@justpickone.org  -- Mary Baker Eddy, "Science
> > and Health"
> > http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf
> > Qrprapl Npg!
> >
> >
> >
> >
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <000701c3a8d3$e0917220$a124ff29@fastwebnet.it>]

end of thread, other threads:[~2003-11-15 17:28 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-28  0:33 chmod Mag. M. Faffelberger
2001-02-28  1:52 ` chmod Corinna Vinschen
2001-03-21  7:07 chmod Antanas Romas
2001-03-21  7:14 ` chmod Michael Erdely
2001-04-05  7:41 chmod Simha, Shuba
2001-04-05  8:04 ` chmod Larry Hall (RFK Partners, Inc)
2001-04-05  8:10 ` chmod Corinna Vinschen
2001-04-18  9:15 chmod rhenderson
2001-04-18  9:22 ` chmod Larry Hall (RFK Partners, Inc)
2001-04-18  9:24 chmod Simha, Shuba
2001-10-24 10:20 chmod Richard Mansfield
2001-10-24 10:46 ` chmod Larry Hall (RFK Partners, Inc)
2001-12-26 20:19 chmod Facey Brian
2001-12-26 20:30 ` chmod Christopher Faylor
2001-12-27 16:00 chmod Sommer, Thorsten
     [not found] <880E371DA312D6119BFD00B0D02090C4496CA1@dinobot>
2002-10-16  3:08 ` chmod David T-G
2002-10-16  5:03   ` chmod Kris Thielemans
2002-10-16  5:43 chmod Vince Hoffman
     [not found] <000701c3a8d3$e0917220$a124ff29@fastwebnet.it>
2003-11-12 14:58 ` chmod Igor Pechtchanski
     [not found] ` <Pine.GSO.4.56.0311121045260.9584@eos>
     [not found]   ` <009501c3aa3f$0384c400$a124ff29@fastwebnet.it>
     [not found]     ` <Pine.GSO.4.56.0311131835110.9584@eos>
     [not found]       ` <001201c3ab3b$f6f24ac0$a124ff29@fastwebnet.it>
2003-11-15 17:21         ` chmod Brian Ford
2003-11-15 17:28           ` chmod Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).