Admin can read user file from bash, despite permissions

2008-04-10 Thread Gmane User
I have a power user file that has go-rwx. However, the administrator account can less the contents from a bash command line. This is both logging onto Windows 2000 as admin, as well as ssh'ing in (loopback) from the power user log-in session. The administrator can also mv the file to a

Re: Admin can read user file from bash, despite permissions

2008-04-10 Thread Gmane User
Brian Dessent wrote: Gmane User wrote: CACLS shows an extensive set of permissions for the power user owner, but only READ_CONTROL, FILE_READ_EA, FILE_READ_ATTRIBUTES for LaptopName\None and Everyone. I've come across nothing on the web (yet) about a special privilege that allows

Re: Admin can read user file from bash, despite permissions

2008-04-10 Thread Gmane User
Corinna Vinschen wrote: On Apr 10 04:19, Gmane User wrote: I have a power user file that has go-rwx. However, the administrator account can less the contents from a bash command line. This is both logging onto Windows 2000 as admin, as well as ssh'ing in (loopback) from the power user log

Re: Admin can read user file from bash, despite permissions

2008-04-10 Thread Gmane User
Gmane User wrote: Brian Dessent wrote: Gmane User wrote: CACLS shows an extensive set of permissions for the power user owner, but only READ_CONTROL, FILE_READ_EA, FILE_READ_ATTRIBUTES for LaptopName\None and Everyone. I've come across nothing on the web (yet) about a special privilege

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-08 Thread Gmane User
Brian Dessent wrote: Gmane User wrote: Let's make sure we're comparing the same situation. I've used bash to explicitly change permissions to go-rwx for most of my files. This is To be pedantic, you used chmod (or some other utility); bash is just a shell, it does not set permissions

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-08 Thread Gmane User
Brian Dessent wrote: Okay, so JkDefrag's boot time defrag does not appear to be a real boot-time (offline) defrag. Anything dealing with the task scheduler is way too late in the game, Win32 is already running at that point. I wonder why anyone want to do that under a permissions-limited

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-08 Thread Gmane User
Dave Korn wrote: Andrew DeFaria wrote on 08 April 2008 16:51: Gmane User wrote: About the log file, you're right. You need another analyze after normal boot. It generates c:/FRAGLIST.HTM, which can be saved as text. Turning off the switch to produce HTML doesn't generate a text file, so

A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Today was a revolutionary day. Ever since I started using cygwin years ago, I just assumed that defrag was doing whatever it does best, and that it was normal to have a whole whack of user application files un-defragged. This list of fragged files got enormous over the years, and almost all the

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Brian Dessent wrote: Gmane User wrote: The defragger I used was JkDefrag. And there was the explanation, right in the online documentation. The files to be defragged need to be accessible by admin. I never suspected that something as system-wide as defragging would be dependent

Re: A FAQ regarding defrag and permissions of nonadmin files?

2008-04-07 Thread Gmane User
Brian Dessent wrote: Gmane User wrote: I'm defragging the whole disk, so I need the defragger to be able to access all files from whatever account it runs under. I've never had any problem doing that without having to specifically loosen any ACLs. Let's make sure we're comparing the same

Re: Home directory

2007-10-02 Thread Gmane User
Warren Young wrote: Gmain User wrote: Thanks, Brian. I was actually asking in the context of not updating cygwin right away. Whether or not one could access up-to-date accumulation of release notes, possibly on the web. Cygwin doesn't have monolithic releases. Every individual package

Re: Home directory

2007-10-01 Thread Gmane User
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gmain User on 10/1/2007 10:04 AM: Is there somewhere online where the release notes can be perused so that I can avoid updating cygwin right away? I usually find that an update is followed by a period of

Re: Home directory

2007-10-01 Thread Gmane User
Brian Dessent wrote: Gmane User wrote: If I were make c:/cygwin/home/UserName my home directory, what is the best way? Ssh only considers /etc/passwd, so it seems best to manually set it there, though I'd have to manually fix it each time I recreate it. It still seems to be the best

Home directory

2007-09-30 Thread Gmane User
ACcording to http://cygwin.com/faq/faq.setup.html#faq.setup.home, the cygwin home directory is determined by the checking the following, in the order listed: 1. Windows HOME environment variable 2. /etc/passwd 3. HOMEDRIVE and HOMEPATH variables in the Windows environment 4. / I recently got a

Re: error when starting X-Win

2007-01-31 Thread Gmane User
Larry Hall (Cygwin X) wrote: Gmane User wrote: snip Which made me think wouldn't it be nice if mounting didn't have to be done for each user account?. I install cygwin on whatever machine (of several) that I happen to work on, so such a global fix would make life easier

Re: error when starting X-Win

2007-01-30 Thread Gmane User
Larry Hall (Cygwin X) wrote: Gmane User wrote: Martin Bartak wrote: Hello, How to delete /tmp/.X11-unix/X0 automatically when closing X-session or, how to prevent its emergence when starting X-sesion or, how to make it re-writable by 'non-Administrator' user? I've got Cygwin 1.5.23-2

Re: error when starting X-Win

2007-01-30 Thread Gmane User
Larry Hall (Cygwin X) wrote: Chris Sutcliffe wrote: The standard way this has been handled in the past is to set up a mount point for '/tmp/' to a unique location. In a default Windows installation, the following should work (untested): mount -b -u $TEMP /tmp This keeps things unique

Re: error when starting X-Win

2007-01-29 Thread Gmane User
Martin Bartak wrote: Hello, How to delete /tmp/.X11-unix/X0 automatically when closing X-session or, how to prevent its emergence when starting X-sesion or, how to make it re-writable by 'non-Administrator' user? I've got Cygwin 1.5.23-2 (full installation) on WinXP with two user

Re: Clean way to auto-read ~/.Xresources

2007-01-29 Thread Gmane User
Gmane User wrote: I install cygwin as admin, and want to change the X resources for one of the user accounts. Hence I don't want to change the global file /etc/X11/app-defaults/XTerm for different xterm font bindings. Instead, I put xrdb -merge %HOME%/.Xresources Correction. %HOME

Clean way to auto-read ~/.Xresources

2007-01-28 Thread Gmane User
I install cygwin as admin, and want to change the X resources for one of the user accounts. Hence I don't want to change the global file /etc/X11/app-defaults/XTerm for different xterm font bindings. Instead, I put xrdb -merge %HOME%/.Xresources in startxwin.bat, after Xwin is launched.

Re: cscope -d can't find trailer offset if path contains space

2007-01-12 Thread Gmane User
Frodak wrote: - Original Message From: Gmane User To: cygwin Sent: Friday, January 12, 2007 1:16:32 AM Subject: Re: cscope -d can't find trailer offset if path contains space By the way, Dave, if you're going to be poking prodding mlscope, I was wondering if you might

Re: cscope -d can't find trailer offset if path contains space

2007-01-11 Thread Gmane User
By the way, Dave, if you're going to be poking prodding mlscope, I was wondering if you might have time to look at a problem with its interface with vim. Mlscope works find from the command line, but simply hangs when I do a symbol search from within vim. Vim works fine with non-ml-cscope,

Re: Exclude cygwin folder from malware scans?

2007-01-10 Thread Gmane User
Fred Ma wrote: After some surfing, I haven't found any evidence of malware targetting cygwin. I'm considering excluding the massive file tree from scans (AV, SpyBot, AdAware). I'd be interested in more experienced opinions about this. Thanks. Thanks for your response. In summary, the

Re: whole-word matches searches of mailing list archive packages

2006-01-29 Thread Gmane User
Gmane User wrote: Brian Dessent wrote: Fred Ma wrote: I was searching for whether the current cygwin has the stat command. This is for future reference, since I am unable to update my old cygwin installation at the moment. I eventually found that stat resides in coreutils, but I was wondering

Re: whole-word matches searches of mailing list archive packages

2006-01-28 Thread Gmane User
Brian Dessent wrote: Fred Ma wrote: I was searching for whether the current cygwin has the stat command. This is for future reference, since I am unable to update my old cygwin installation at the moment. I eventually found that stat resides in coreutils, but I was wondering if there is a way to