public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* File permission problem
@ 2004-09-24  2:53 jackylam
       [not found] ` <6334E09627481B4AA5C8DE1E69E19D3B013BA6EB@SSLEXCHANGE.solom onsystech.com>
  0 siblings, 1 reply; 24+ messages in thread
From: jackylam @ 2004-09-24  2:53 UTC (permalink / raw)
  To: cygwin

Dear all,

	I have try to generate a private key file so that I don't need
to enter password everytime I "ssh" to a remote machine. However, "ssh"
complaints me about the permission of key file. I don't know why "chmod"
always return 666 or 444 even I want to change the file to 600 or 400.

	Does anymore have idea? Thanks.

Best regards,
Jacky

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: File permission problem
@ 2004-09-24  5:19 jackylam
  2004-09-24  5:22 ` Peter Rehley
  0 siblings, 1 reply; 24+ messages in thread
From: jackylam @ 2004-09-24  5:19 UTC (permalink / raw)
  To: cygwin


Yes. But I have already export the environment variable "ntsec" and
restart cygwin. But chmod still doesn't work. Do I need to run any
server in order to activate the change?

Jacky

-----Original Message-----
From: Larry Hall [mailto:lh-no-personal-replies-please@cygwin.com] 
Sent: Friday, 24 September, 2004 10:52
To: Jacky Lam; cygwin@cygwin.com
Subject: Re: File permission problem

At 09:59 PM 9/23/2004, you wrote:
>Dear all,
>
>    I have try to generate a private key file so that I don't need
>to enter password everytime I "ssh" to a remote machine. However, "ssh"
>complaints me about the permission of key file. I don't know why
"chmod"
>always return 666 or 444 even I want to change the file to 600 or 400.
>
>    Does anymore have idea? Thanks.


Does this describe your situation?

Why doesn't chmod work?
<http://cygwin.com/faq/faq_toc.html#TOC41>


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: File permission problem
@ 2004-09-24  7:21 jackylam
  2004-09-24  9:31 ` Brian Dessent
  0 siblings, 1 reply; 24+ messages in thread
From: jackylam @ 2004-09-24  7:21 UTC (permalink / raw)
  To: peter, cygwin

No, it is an NTFS on a network drive. Is it related?

-----Original Message-----
From: Peter Rehley [mailto:peter@rehley.net] 
Sent: Friday, 24 September, 2004 12:38
To: 'cygwin'
Subject: Re: File permission problem

This sound suspiciously like the files are on a FAT32 file partition.  
Are they?

On Sep 23, 2004, at 8:32 PM, <jackylam@solomon-systech.com> wrote:

>
> Yes. But I have already export the environment variable "ntsec" and
> restart cygwin. But chmod still doesn't work. Do I need to run any
> server in order to activate the change?
>
> Jacky
>
> -----Original Message-----
> From: Larry Hall [mailto:lh-no-personal-replies-please@cygwin.com]
> Sent: Friday, 24 September, 2004 10:52
> To: Jacky Lam; cygwin@cygwin.com
> Subject: Re: File permission problem
>
> At 09:59 PM 9/23/2004, you wrote:
>> Dear all,
>>
>>    I have try to generate a private key file so that I don't need
>> to enter password everytime I "ssh" to a remote machine. However, 
>> "ssh"
>> complaints me about the permission of key file. I don't know why
> "chmod"
>> always return 666 or 444 even I want to change the file to 600 or 400.
>>
>>    Does anymore have idea? Thanks.
>
>
> Does this describe your situation?
>
> Why doesn't chmod work?
> <http://cygwin.com/faq/faq_toc.html#TOC41>
>
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
>
Enjoy,
Peter
-------------------------------
A Møøse once bit my sister


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: File permission problem
@ 2004-09-24  8:35 jackylam
  0 siblings, 0 replies; 24+ messages in thread
From: jackylam @ 2004-09-24  8:35 UTC (permalink / raw)
  To: peter, cygwin

Oh...yes, it really related. Is there any way to resolve this? If not, how can I change my home to other local drive?

-----Original Message-----
From: Peter Rehley [mailto:peter@rehley.net] 
Sent: Friday, 24 September, 2004 12:38
To: 'cygwin'
Subject: Re: File permission problem

This sound suspiciously like the files are on a FAT32 file partition.  
Are they?

On Sep 23, 2004, at 8:32 PM, <jackylam@solomon-systech.com> wrote:

>
> Yes. But I have already export the environment variable "ntsec" and
> restart cygwin. But chmod still doesn't work. Do I need to run any
> server in order to activate the change?
>
> Jacky
>
> -----Original Message-----
> From: Larry Hall [mailto:lh-no-personal-replies-please@cygwin.com]
> Sent: Friday, 24 September, 2004 10:52
> To: Jacky Lam; cygwin@cygwin.com
> Subject: Re: File permission problem
>
> At 09:59 PM 9/23/2004, you wrote:
>> Dear all,
>>
>>    I have try to generate a private key file so that I don't need
>> to enter password everytime I "ssh" to a remote machine. However, 
>> "ssh"
>> complaints me about the permission of key file. I don't know why
> "chmod"
>> always return 666 or 444 even I want to change the file to 600 or 400.
>>
>>    Does anymore have idea? Thanks.
>
>
> Does this describe your situation?
>
> Why doesn't chmod work?
> <http://cygwin.com/faq/faq_toc.html#TOC41>
>
>
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
>
Enjoy,
Peter
-------------------------------
A Møøse once bit my sister


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: File permission problem
@ 2004-09-24 16:26 Hughes, Bill
  0 siblings, 0 replies; 24+ messages in thread
From: Hughes, Bill @ 2004-09-24 16:26 UTC (permalink / raw)
  To: cygwin

Andrew DeFaria wrote:
> Christopher Faylor wrote:
> 
>> On Fri, Sep 24, 2004 at 07:42:05AM -0700, Andrew DeFaria wrote:
>> 
>>> I'm trying to understand why one would want ntsec on by default and
>>> smbntsec off by default?
>> 
>> smbntsec doesn't work reliably given the variability of smb servers.
> 
> Still seems strange to me. If off it doesn't work at all (right?)!
> Even if it worked 50% of the time that's 50% better than 0%.

It's less predictable so it's not necessarily better.
If you try and use it and don't know if it's going to work or not...

Bill
-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org

This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.

The views expressed in this email are not that of the company unless
specified within the message.

The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.

If you have any comments regarding our policy please direct them to
postmaster@cox.co.uk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* file permission problem
@ 2007-11-28  0:57 Win Tong
  2007-11-28  1:07 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 24+ messages in thread
From: Win Tong @ 2007-11-28  0:57 UTC (permalink / raw)
  To: cygwin

Hi,

I have a difficult problem which I don't know how to solve and I'll
appreciate any help.
I'm using windows XP Home with cygwin and I want to remove the directory
'no_bulk' and all the files within it.

The following commands show me something like this

$ rm -r no_bulk
rm: cannot remove `no_bulk/con': No such file or directory

$ ls -l no_bulk
ls: no_bulk/con: No such file or directory
total 0
---------- 0 ???????? ???????? 0 Jan  1  1970 con

I tried to delete it through windows explorer as a administrator but it
say cannot find the specified file even though it shows the file and say
the file has 71kB and modified on 15/09/2007.

I've search google but cannot find anything that helps.
This is not the only directory that has this wired file and I want to
get rid of them.
please help

Winnie


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread
* file permission problem
@ 2016-04-16  1:16 Barry Gold
  2016-04-16 20:38 ` Marco Atzeri
  0 siblings, 1 reply; 24+ messages in thread
From: Barry Gold @ 2016-04-16  1:16 UTC (permalink / raw)
  To: cygwin

I updated my cygwin to the latest 32-bit version (I hope), and I'm 
having a problem with file permissions. Newly created files and 
directories lack write permission even for the owner.

Here's some relevant stuff from my Cygwin shell window:

-----------------
~ % umask
0022
~ % touch x
~ % ll x
-rw-rw-r--+ 1 barry None 0 Apr 15 18:13 x
~ % ll .
drwxrwx---+ 1 barry None 0 Apr 15 18:13 ./
~ % cd bin
~/bin % ll .
drwxr-xr-x+ 1 barry None 0 Apr 15 18:12 ./
~/bin % touch x
~/bin % ll x
-r--r--r--+ 1 barry None 0 Apr 15 18:13 x
~/bin %
-----------------

If I create a file in my home directory, the file permissions come out 
correct. But if I create a file in my bin directory, the file 
permissions are wrong -- write permission is missing, even for the owner 
(me).

This is x86 cygwin on Windows 7 Home Premium Service Pack 1


-- 
On Beta, we'd have earrings for that. You could buy them in any jewelry store.
http://www.conchord.org/xeno/bdgsig.html


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-04-16 20:38 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24  2:53 File permission problem jackylam
     [not found] ` <6334E09627481B4AA5C8DE1E69E19D3B013BA6EB@SSLEXCHANGE.solom onsystech.com>
2004-09-24  3:31   ` Larry Hall
2004-09-24 13:20     ` Doctor Bill
2004-09-24 13:37       ` Doctor Bill
2004-09-24  5:19 jackylam
2004-09-24  5:22 ` Peter Rehley
2004-09-24  7:21 jackylam
2004-09-24  9:31 ` Brian Dessent
2004-09-24  9:31   ` Corinna Vinschen
2004-09-24  9:47     ` Brian Dessent
2004-09-24 12:42       ` Corinna Vinschen
2004-09-24 14:51         ` Andrew DeFaria
2004-09-24 14:58           ` Christopher Faylor
2004-09-24 15:08             ` Andrew DeFaria
2004-09-24 15:19               ` Corinna Vinschen
2004-09-24 16:41                 ` Andrew DeFaria
2004-09-24 14:59           ` Doctor Bill
2004-09-24 15:09             ` Corinna Vinschen
2004-09-24  8:35 jackylam
2004-09-24 16:26 Hughes, Bill
2007-11-28  0:57 file " Win Tong
2007-11-28  1:07 ` Larry Hall (Cygwin)
2016-04-16  1:16 Barry Gold
2016-04-16 20:38 ` Marco Atzeri

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).