Re: Strange permissions set when I create files in my home directory on windows 10

2016-07-30 Thread Reckoner
I mean '/home/jhu' as the user's home.

Sorry for the confusion.

On Sat, Jul 30, 2016 at 2:38 PM, Reckoner  wrote:
> Thanks for your reply. By "home" directory, I mean "/home/". This is
> c:\cygwin\home on Windows but /home/ on cygwin.
>
> % icacls foo
> foo NULL SID:(DENY)(Rc,S,WEA,X,DC)
> S4\jhu:(DENY)(S,RD,WD,AD,REA,WEA,DC)
> S4\jhu:(D,Rc,WDAC,WO,RA,WA)
> NT AUTHORITY\Authenticated Users:(DENY)(S,X)
> NT AUTHORITY\SYSTEM:(DENY)(S,X)
> BUILTIN\Administrators:(DENY)(S,X)
> BUILTIN\Users:(DENY)(S,X)
> S4\None:(Rc,S,RA)
> NT AUTHORITY\Authenticated Users:(RX,W)
> NT AUTHORITY\SYSTEM:(RX,W)
> BUILTIN\Administrators:(RX,W)
> BUILTIN\Users:(RX)
> Everyone:(Rc,S,RA)
>
> Successfully processed 1 files; Failed processing 0 files
> % getfacl foo
> # file: foo
> # owner: jhu
> # group: None
> user::---
> group::---
> group:Authenticated Users:rwx   #effective:rw-
> group:SYSTEM:rwx#effective:rw-
> group:Administrators:rwx#effective:rw-
> group:Users:r-x #effective:r--
> mask:rw-
> other:---
>
> Thanks!
>
>
>
> On Sat, Jul 30, 2016 at 1:14 PM, Andrey Repin  wrote:
>> Greetings, Reckoner!
>>
>>> When I do
>>
>>> % touch foo
>>
>>> in my home directory, `ls -l` gives,
>>
>>> rw+ 1 jhu 0 Jul 30 09:16 foo
>>
>> Define "home directory"? Is this cygwin private home? Your user's home set as
>> Cygwin home through nsswitch ?
>> What is the output on said entry from getfacl? icacls?
>>
>>> Note the permissions. Here's my /etc/fstab
>>
>>
>>> none /mnt cygdrive binary,noacl,posix=0,user 0 0
>>> c: /c ntfs noacl,binary,auto 0 0
>>> d: /d ntfs noacl,binary,auto 0 0
>>
>> You could save yourself last two lines by just mounting cygdrive as /
>>
>>> c:/Temp /tmp ntfs noacl,binary,auto 0 0
>>
>> And you can use private user's temp via
>>
>> none /tmp usertemp binary,user,notexec,posix=0 0 0
>>
>>> This just started happening after I upgraded my cygwin install.
>>
>>> % uname -r
>>> 2.5.2(0.297/5/3)
>>
>>
>> --
>> With best regards,
>> Andrey Repin
>> Saturday, July 30, 2016 23:10:40
>>
>> Sorry for my terrible english...
>>

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



Re: Strange permissions set when I create files in my home directory on windows 10

2016-07-30 Thread Reckoner
Thanks for your reply. By "home" directory, I mean "/home/". This is
c:\cygwin\home on Windows but /home/ on cygwin.

% icacls foo
foo NULL SID:(DENY)(Rc,S,WEA,X,DC)
S4\jhu:(DENY)(S,RD,WD,AD,REA,WEA,DC)
S4\jhu:(D,Rc,WDAC,WO,RA,WA)
NT AUTHORITY\Authenticated Users:(DENY)(S,X)
NT AUTHORITY\SYSTEM:(DENY)(S,X)
BUILTIN\Administrators:(DENY)(S,X)
BUILTIN\Users:(DENY)(S,X)
S4\None:(Rc,S,RA)
NT AUTHORITY\Authenticated Users:(RX,W)
NT AUTHORITY\SYSTEM:(RX,W)
BUILTIN\Administrators:(RX,W)
BUILTIN\Users:(RX)
Everyone:(Rc,S,RA)

Successfully processed 1 files; Failed processing 0 files
% getfacl foo
# file: foo
# owner: jhu
# group: None
user::---
group::---
group:Authenticated Users:rwx   #effective:rw-
group:SYSTEM:rwx#effective:rw-
group:Administrators:rwx#effective:rw-
group:Users:r-x #effective:r--
mask:rw-
other:---

Thanks!



On Sat, Jul 30, 2016 at 1:14 PM, Andrey Repin  wrote:
> Greetings, Reckoner!
>
>> When I do
>
>> % touch foo
>
>> in my home directory, `ls -l` gives,
>
>> rw+ 1 jhu 0 Jul 30 09:16 foo
>
> Define "home directory"? Is this cygwin private home? Your user's home set as
> Cygwin home through nsswitch ?
> What is the output on said entry from getfacl? icacls?
>
>> Note the permissions. Here's my /etc/fstab
>
>
>> none /mnt cygdrive binary,noacl,posix=0,user 0 0
>> c: /c ntfs noacl,binary,auto 0 0
>> d: /d ntfs noacl,binary,auto 0 0
>
> You could save yourself last two lines by just mounting cygdrive as /
>
>> c:/Temp /tmp ntfs noacl,binary,auto 0 0
>
> And you can use private user's temp via
>
> none /tmp usertemp binary,user,notexec,posix=0 0 0
>
>> This just started happening after I upgraded my cygwin install.
>
>> % uname -r
>> 2.5.2(0.297/5/3)
>
>
> --
> With best regards,
> Andrey Repin
> Saturday, July 30, 2016 23:10:40
>
> Sorry for my terrible english...
>

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



Strange permissions set when I create files in my home directory on windows 10

2016-07-30 Thread Reckoner
When I do

% touch foo

in my home directory, `ls -l` gives,

rw+ 1 jhu 0 Jul 30 09:16 foo

Note the permissions. Here's my /etc/fstab


none /mnt cygdrive binary,noacl,posix=0,user 0 0
c: /c ntfs noacl,binary,auto 0 0
d: /d ntfs noacl,binary,auto 0 0
c:/Temp /tmp ntfs noacl,binary,auto 0 0

This just started happening after I upgraded my cygwin install.

% uname -r
2.5.2(0.297/5/3)


Thanks!

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



Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal?

2012-02-06 Thread reckoner

Hi,

I usually start the non-cygwin gvim.exe via the rxvt cygwin console 
doing something like:


% gvim filename.py

the problem is that, when inside GVIM, when I do:

:py print os.environ['PATH']

I see a lot of cygwin paths which messes up the Python path that GVIM 
wants to use. Is there a way to start gvim.exe so that this doesn't 
happen? Note that I can avoid this situation by starting GVIM in a plain 
vanilla CMD window, or from a standard window shortcut, instead of using 
the cygwin terminal.


This is on Windows XP Professional Ver 5.1 Build 2600 Service Pack 3.


Thanks!



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



Where to find Python scipy ?

2010-11-03 Thread Reckoner
Hi,

I can see there is a numpy install for python, but is there anything for scipy?

I'm having no luck building it myself.

Thanks!

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



chere not working with zsh version 4.3.10 but worked for 4.3.9

2010-09-01 Thread Reckoner
Hi,

This command line from chere is not working anymore for zsh version
4.3.10, but it worked for zsh version 4.3.9:


   C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe -e /bin/xhere /bin/zsh.exe "%L"


any help appreciated.

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



Re: Windows batch program to open shell at directory

2010-08-28 Thread Reckoner
Thanks for all your great suggestions. Here is what I settled on for
the batch file:

   c:\cygwin\bin\zsh --login -c "cd '%1' ;exec zsh"

The only thing I have to work out is how to handle cases where the %1
argument contains spaces.

Thanks again!

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



Windows batch program to open shell at directory specified as argument

2010-08-26 Thread Reckoner
hi,

I use chere to right-click and open a shell at a given directory, and
I was wondering if it is possible to setup a windows batch script that
would accomplish the same thing from the Windows command line. In
other words something like,

c:> cygwin_start_dir.bat c:\mystuff\directory

which would then open my favourite shell at the c:\mystuff\directory.

Thanks in advance.

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



chere-like behavior from shortcut -- open shell at shortcut-given directory?

2008-05-23 Thread Reckoner
Hi,

I would like to create a shortcut that will open my favorite shell at
a specific directory embedded in the shortcut. Is this possible?

While we are fantasizing, is it possible to create a shortcut that
would open to a directory that is dropped on it? Chere goes along
these lines, but cannot accomplish these two tricks AFAIK.

Thanks in advance.

--
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/



copying a million tiny files?

2007-10-31 Thread sam reckoner
I'm not exaggerating. I have over one million small files that like to
move between disks. The problem is that even getting a directory
listing takes forever.

Is there a best practice for this?

I don't really need the directory listing, I just need to move all the
files. I have been using rsync, but that takes a very long time to
generate the list of files to be moved.

Any alternatives?

Thanks in advance.

--
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/



rxvt: how to change font using control-wheelmouse?

2007-10-03 Thread sam reckoner
Is it possible to setup rxvt to incrementally change font sizes by
doing control-wheelmouse?

If so, how?

thanks.

--
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/