Re: file permission problem

2016-04-16 Thread Marco Atzeri
On 16/04/2016 03:16, Barry Gold wrote: 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: ---

Re: file permission problem

2007-11-27 Thread Larry Hall (Cygwin)
Win Tong wrote: 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: ca

Re: File permission problem

2004-09-24 Thread Andrew DeFaria
Corinna Vinschen wrote: On Sep 24 07:51, 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

RE: File permission problem

2004-09-24 Thread Hughes, Bill
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

Re: File permission problem

2004-09-24 Thread Corinna Vinschen
On Sep 24 07:51, 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 variabil

Re: File permission problem

2004-09-24 Thread Corinna Vinschen
On Sep 24 10:50, Doctor Bill wrote: > Does smbntsec work if the file system is shared from a Win9x machine? No. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info:

Re: File permission problem

2004-09-24 Thread Andrew DeFaria
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 w

Re: File permission problem

2004-09-24 Thread Doctor Bill
Does smbntsec work if the file system is shared from a Win9x machine? If so, where are the NT ACL's stored? Bill On Fri, 24 Sep 2004 07:42:05 -0700, Andrew DeFaria <[EMAIL PROTECTED]> wrote: > Corinna Vinschen wrote: > > > On Sep 24 02:36, Brian Dessent

Re: File permission problem

2004-09-24 Thread Christopher Faylor
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. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple P

Re: File permission problem

2004-09-24 Thread Andrew DeFaria
Corinna Vinschen wrote: On Sep 24 02:36, Brian Dessent wrote: Corinna Vinschen wrote: On Sep 24 01:43, Brian Dessent wrote: [EMAIL PROTECTED] wrote: No, it is an NTFS on a network drive. Is it related? Yes. You probably lack the SeRestorePrivilege right on your login token, or for some strange reas

Re: File permission problem

2004-09-24 Thread Doctor Bill
I just verified the umask patch is still in place: $ (umask 000;ls -la /cygdrive/c/IO.SYS);(umask 077;ls -la /cygdrive/c/IO.SYS) -rwxr-xr-x1 docbill None 222390 Apr 23 1999 /cygdrive/c/IO.SYS -rwx--1 docbill None 222390 Apr 23 1999 /cygdrive/c/IO.SYS So if your problem

Re: File permission problem

2004-09-24 Thread Doctor Bill
I think about a year ago there was a patch added to the cygwin core to allow you to use 'umask' to change apparent permissions on a FAT32 partition. The idea was you could then do something like: umask 077; ssh foo.bar.com I do not know if this code is still in the cygwin libraries, and if it wi

Re: File permission problem

2004-09-24 Thread Corinna Vinschen
On Sep 24 02:36, Brian Dessent wrote: > Corinna Vinschen wrote: > > > > On Sep 24 01:43, Brian Dessent wrote: > > > [EMAIL PROTECTED] wrote: > > > > > > > > No, it is an NTFS on a network drive. Is it related? > > > > > > Yes. You probably lack the SeRestorePrivilege right on your login > > > tok

Re: File permission problem

2004-09-24 Thread Brian Dessent
Corinna Vinschen wrote: > > On Sep 24 01:43, Brian Dessent wrote: > > [EMAIL PROTECTED] wrote: > > > > > > No, it is an NTFS on a network drive. Is it related? > > > > Yes. You probably lack the SeRestorePrivilege right on your login > > token, or for some strange reason you have nosmbntsec set.

Re: File permission problem

2004-09-24 Thread Corinna Vinschen
On Sep 24 01:43, Brian Dessent wrote: > [EMAIL PROTECTED] wrote: > > > > No, it is an NTFS on a network drive. Is it related? > > Yes. You probably lack the SeRestorePrivilege right on your login > token, or for some strange reason you have nosmbntsec set. RTFM: >

Re: File permission problem

2004-09-24 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > > No, it is an NTFS on a network drive. Is it related? Yes. You probably lack the SeRestorePrivilege right on your login token, or for some strange reason you have nosmbntsec set. RTFM: Brian -- Unsubscribe info

RE: File permission problem

2004-09-23 Thread jackylam
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:[EMAIL PROTECTED] Sent: Friday, 24 September, 2004 12:38 To: 'cygwin' Subject: Re: File permission problem

RE: File permission problem

2004-09-23 Thread jackylam
No, it is an NTFS on a network drive. Is it related? -Original Message- From: Peter Rehley [mailto:[EMAIL PROTECTED] 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.

Re: File permission problem

2004-09-23 Thread Peter Rehley
ny server in order to activate the change? Jacky -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Friday, 24 September, 2004 10:52 To: Jacky Lam; [EMAIL PROTECTED] Subject: Re: File permission problem At 09:59 PM 9/23/2004, you wrote: Dear all, I have try to generate a priva

RE: File permission problem

2004-09-23 Thread jackylam
, 2004 10:52 To: Jacky Lam; [EMAIL PROTECTED] 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, "

Re: File permission problem

2004-09-23 Thread Larry Hall
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