FIFO with group-only permissions fails with "Permission denied" ...

2024-09-09 Thread Roland Mainz via Cygwin
Hi! I'm trying to create a Cygwin FIFO which can only be read and written by admins: snip # as admin mkfifo system_cmd_fifo chgrp 544 system_cmd_fifo chmod a-rwx,g+rw system_cmd_fifo cat https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Permission denied when moving symlink across filesystems (but works)

2022-09-21 Thread Denis Excoffier
jupiter% ls -aln /cygdrive/f/xx/lcheck lrwxrwxrwx 1 111 1049089 7 Sep 21 17:35 /cygdrive/f/xx/lcheck -> xxx jupiter% /usr/bin/mv /cygdrive/f/xx/lcheck /cygdrive/g/xx/lcheck /usr/bin/mv: listing attributes of '/cygdrive/f/xx/lcheck': Permission denied jupiter% ls -aln /cygdriv

Re: ca-certificates postinstall permission denied error

2022-08-29 Thread Markus Hansmair
Hello, may I chime in... I had the very same issue. In an enterprise environment I'm forced to do setup --no-admin --no-desktop Am 26.08.22 um 08:28 schrieb ASSI: Can you try if these patches fiy your issue (if you havent installed ca-certificates-letsencrypt then obviously the second one wil

Re: Resend: ca-certificates postinstall permission denied error

2022-08-25 Thread ASSI
Shaddy Baddah writes: > Getting consistent permission denied errors on postinstall of > ca-certificate. > > It appears to be oversight, out of a well-intentioned attempt to > protect script generated reference files. This is caused by p11-kit removing write permissions even for th

Re: minor correction: ca-certificates postinstall permission denied error

2022-08-25 Thread Shaddy Baddah
Hi, On 26/08/2022 1:22 pm, Shaddy Baddah wrote: -B, no privelege elevation). Both installs have had an manual manipulation of the directory, or its parents up to /etc. Both installs have *not* had any manual manipulation... -- Regards, Shaddy -- Problem reports: https://cygwin.com/probl

Resend: ca-certificates postinstall permission denied error

2022-08-25 Thread Shaddy Baddah
Hi, On 26/08/2022 1:10 pm, Shaddy Baddah wrote: Hi, Getting consistent permission denied errors on postinstall of Apologies for the rendering of the original email. Email client did something unexpected with line breaks. I've loopback tested this resend first. Getting consi

ca-certificates postinstall permission denied error

2022-08-25 Thread Shaddy Baddah
Hi, Getting consistent permission denied errors on postinstall of ca-certificate. It appears to be oversight, out of a well-intentioned attempt to protect script generated reference files. There error as it appears in setup.log.full: 2022/08/26 11:39:07 running: e:\cygwin-x86_64\bin\bash.exe

re: php installing custom extension with phpize permission denied

2022-05-25 Thread Jim McNamara via Cygwin
Hi all- This is the error I get: PHP         : /usr/bin/phpdbg PHP_SAPI    : PHP Warning:  PHP Startup: Unable to load dynamic library '' (tried: /home/user/amf3/modules/ (Permission denied), /home/user/amf3/modules/.dll (No such file or directory)) in Unknown on line 0 I verifie

installing custom extension with phpize permission denied (PhP)

2022-05-25 Thread Jim McNamara via Cygwin
Hi all- I was able to run phpize with cygwin PhP and it generated an .a file for the extension. I need a .dll file though for PhP to load it. I'd like to install php-amf3 located at https://github.com/neoxic/php-amf3. I get a permission denied error. I thought the process is to change

Re: dos2unix: Failed to change the permissions of temporary output file …: Permission denied

2022-01-02 Thread Brian Inglis
On 2022-01-02 03:05, Andrey Repin wrote: Greetings, Brian Inglis! Maybe show us a standalone script command line execution, script execution trace (like -xv), failing command line expansion, failure messages, Cygwin permissions of relevant components, and Cygwin installation status of all the c

Re: dos2unix: Failed to change the permissions of temporary output file …: Permission denied

2022-01-02 Thread Andrey Repin
Greetings, Brian Inglis! > Maybe show us a standalone script command line execution, script > execution trace (like -xv), failing command line expansion, failure > messages, Cygwin permissions of relevant components, and Cygwin > installation status of all the components (or cygcheck -hrsv log).

Re: dos2unix: Failed to change the permissions of temporary output file …: Permission denied

2022-01-01 Thread Brian Inglis
On 2021-12-29 08:30, Andrey Repin wrote: Greetings, All! I've got a problem with recent Cygwin and some old scripts of mine. Particularly, the script at one point trying to normalize EOL's in a file so that following operations run smooth. But the step fails with message about permission change

Re: dos2unix: Failed to change the permissions of temporary output file …: Permission denied

2022-01-01 Thread Andrey Repin
Greetings, Andrey Repin! > I've got a problem with recent Cygwin and some old scripts of mine. > Particularly, the script at one point trying to normalize EOL's in a file so > that following operations run smooth. > But the step fails with message about permission changes. > The problem is, > 1.

dos2unix: Failed to change the permissions of temporary output file …: Permission denied

2021-12-29 Thread Andrey Repin
Greetings, All! I've got a problem with recent Cygwin and some old scripts of mine. Particularly, the script at one point trying to normalize EOL's in a file so that following operations run smooth. But the step fails with message about permission changes. The problem is, 1. the file is located o

tee: 'standard output': Permission denied

2020-12-31 Thread Andry
Hello Brian, >Seems to have been reported a few times with Windows Russian and fix suggested >was "chcp 1252" (which might not be too useful for many Russians), as there may >be encoding conversion bugs with UTF-8. Why not just switch a console to TrueType font like Lucida Console or

Re: tee: 'standard output': Permission denied

2020-12-30 Thread Brian Inglis
On 2020-12-29 19:22, Andry via Cygwin wrote: Cannot repro... Logfile is created correctly and commands and their output are logged there. The file encoding for the logfile is utf-8. The issue found in the Windows 7 x64. A couple of things though:1. changing \ to / does not guarantee a v

Re: Re: tee: 'standard output': Permission denied

2020-12-30 Thread Andry
Hello Cygwin, >What weird is that if the font is other than raster font, this error does not occur. Sad, but seems the version of the cygwin is not related to the issue, it still fails in the cygwin64 3.1.x: `script: write failed: Permission denied` >Is this possibly a bug of w

Re: tee: 'standard output': Permission denied

2020-12-30 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 05:24:02 +0300 Andry wrote: > Hello takashi, > > >I cannot reproducue your problem even with chcp.com 65001 and > >start "" cmd.exe ... > Seems this is a bug specifically for the Windows 7 x64. I guess the problem is essentially the same with followings. In Win7, 1) Start com

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 14:03:58 +0900 Takashi Yano via Cygwin wrote: > On Wed, 30 Dec 2020 07:49:07 +0300 > Andry wrote: > > Hello Cygwin, > > > > >I am not sure why you don't wat to use script, > > >how about this then? > > > > > >@echo off > > >set CYGWIN_ROOT=... > > >set PWD=... > >

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, >Weird. In my environment, chcp surely changes the code page. Are you using cygwin 3.2.0 snapshot by any chance? Yes, in 3.1.x (cygwin64) it works. But the issue with the mixed CR / CR+LF in the log is still persist. -- Problem reports: https://cygwin.com/problems.html

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, One more issue with the script is that the line returns forces at some points as CR. When run bash from cmd.exe - CR+LF -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsu

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 07:49:07 +0300 Andry wrote: > Hello Cygwin, > > >I am not sure why you don't wat to use script, > >how about this then? > > > >@echo off > >set CYGWIN_ROOT=... > >set PWD=... > >set PROJECT_LOG_FILE=... > > > >"%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FIL

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello takashi, >or: >... > >cd "%PWD%" This does not work with long 260+ paths. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simp

tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Cygwin, >I am not sure why you don't wat to use script, >how about this then? > >@echo off >set CYGWIN_ROOT=... >set PWD=... >set PROJECT_LOG_FILE=... > >"%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > /dev/null 2>&1; cd \"%PWD%\"; CHERE_INVOKING

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 13:02:58 +0900 Takashi Yano via Cygwin wrote: > I am not sure why you don't wat to use script, > how about this then? > > @echo off > set CYGWIN_ROOT=... > set PWD=... > set PROJECT_LOG_FILE=... > > "%CYGWIN_ROOT%\bin\script" -q -a "%PROJECT_LOG_FILE%" -c "chcp.com 65001 > >

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
On Wed, 30 Dec 2020 05:24:02 +0300 Andry wrote: > Hello takashi, > > >I cannot reproducue your problem even with chcp.com 65001 and > >start "" cmd.exe ... > Seems this is a bug specifically for the Windows 7 x64. > > >By the way, using tee for logging the output is not good > >idea because stdou

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello takashi, >I cannot reproducue your problem even with chcp.com 65001 and >start "" cmd.exe ... Seems this is a bug specifically for the Windows 7 x64. >By the way, using tee for logging the output is not good >idea because stdout is not a tty. Due to this, less command >does not work properl

Re: Re: tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
Hello Kometes, >Cannot repro... Logfile is created correctly and commands and their output are logged there. The file encoding for the logfile is utf-8. The issue found in the Windows 7 x64. >A couple of things though:1. changing \ to / does not guarantee a valid Cygwin path. Not

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Takashi Yano via Cygwin
.exe"" -l -i; } 2>&1 | > ""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%""" > ``` > > To execute: > > ``` > c:\> start "" cmd.exe /C run_cygwin_bash.bat > > ``` >

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Doug Henderson via Cygwin
On Tue, 29 Dec 2020 at 14:48, Andry via Cygwin wrote: > > "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. > ""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | > ""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%""" > ``` > In most situations like this, I cre

Re: tee: 'standard output': Permission denied

2020-12-29 Thread Kevin Schnitzius via Cygwin
On Tuesday, December 29, 2020, 04:47:56 PM EST, Andry via Cygwin wrote: >  "%CYGWIN_ROOT%\bin\bash.exe" -c "{ cd ""%PWD:\=/%""; CHERE_INVOKING=. >""%CYGWIN_ROOT:\=/%/bin/bash.exe"" -l -i; } 2>&1 | >""%CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%"""   ``` Cannot repro...  Logfile

tee: 'standard output': Permission denied

2020-12-29 Thread Andry via Cygwin
execute: ``` c:\> start "" cmd.exe /C run_cygwin_bash.bat ``` To stall: ``` $ 123 c:/cygwin/bin/tee: 'standard output': Permission denied ``` It repro only if: `chcp.com 65001` used together with `start "" cmd.exe ...` -- Problem reports:

tee: 'standard output': Permission denied

2020-12-26 Thread Andry via Cygwin
CYGWIN_ROOT:\=/%/bin/tee.exe"" -a ""%PROJECT_LOG_FILE:\=/%""" , where: CYGWIN_ROOT - path to cygwin root directory PWD - arbitrary working directory to run bash from PROJECT_LOG_FILE - path to log file to log stdout+stderr Currently this throws the error: `tee: &#

Re: sshd: PID 2308: fatal: seteuid 1090146: Permission denied --> Login to domain server windows 2k12r2 not possible

2018-03-08 Thread Achim Gratz
Bernhard Finster writes: > login via ssh to cygwin on a domain server 2012r2 standardis not > possible (see error in mail subject). The login is either with > password, nor with publickey possible. The package was created with > cygwinsetup.exe v 2.877 (32bit) and works fine on every standalone >

Re: sshd: PID 2308: fatal: seteuid 1090146: Permission denied --> Login to domain server windows 2k12r2 not possible

2018-03-08 Thread Brian Inglis
On 2018-03-08 04:44, Bernhard Finster wrote: > login via ssh to cygwin on a domain server 2012r2 standardis not possible > (see error in mail subject). The login is either with password, nor with > publickey possible. > The package was created with cygwinsetup.exe v 2.877 (32bit) and works fine

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
On 2016-04-08 14:46, Achim Gratz wrote: Houder xs4all.nl> writes: To verify, I removed my modification again ... --- a/drv/e/Setup/test/bin/rebaselst.orig +++ b/drv/e/Setup/test/bin/rebaselst -93,9 +93,14 check_file () { echo "removing $1" rm -f $1 fi +# if [ "$2" =

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Achim Gratz
Houder xs4all.nl> writes: > To verify, I removed my modification again ... > > --- a/drv/e/Setup/test/bin/rebaselst.orig > +++ b/drv/e/Setup/test/bin/rebaselst > -93,9 +93,14 check_file () { > echo "removing $1" > rm -f $1 > fi > +# if [ "$2" = "no" -a -e $1 ] ; then >

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
7;: No such file or directory Updating package information in /var/cache/rebase/rebase_pkg. Updating rebase information for installed dynamic objects in /var/cache/rebase/rebase_lst. /bin/rebaselst: 228: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied Updating r

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Achim Gratz
Houder xs4all.nl> writes: > No ... it did not. You realize that this makes absolutely no sense? > However, this modification did. Which does exactly the same thing in a more roundabout way. Or should anyway. Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
On 2016-04-08 12:59, Achim Gratz wrote: Houder xs4all.nl> writes: MY APOLOGIES FOR WASTING YOUR TIME! I meant 444 (r--r--r--). Sigh. Try if the following patch fixes your problem: --- /bin/rebaselst +++ # @@ -97,6 +97,7 @@ echo "creating empty $1" touch -t 700101 "$1" fi +

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Achim Gratz
Houder xs4all.nl> writes: > MY APOLOGIES FOR WASTING YOUR TIME! I meant 444 (r--r--r--). Sigh. Try if the following patch fixes your problem: --- /bin/rebaselst +++ # @@ -97,6 +97,7 @@ echo "creating empty $1" touch -t 700101 "$1" fi + chmod 644 "$1" } _tr () { Regards,

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
On 2016-04-08 12:31, Achim Gratz wrote: Houder xs4all.nl> writes: But I am missing some "Unix logic" here: - I modified the permissions of the files (chmod u+x) What makes you think that these files should be executable? - invoked setup (using -B) - rebaselst is content now, thoug

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Achim Gratz
Houder xs4all.nl> writes: > But I am missing some "Unix logic" here: > > - I modified the permissions of the files (chmod u+x) What makes you think that these files should be executable? > - invoked setup (using -B) > - rebaselst is content now, though > - it creates the same file

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
lst: Permission denied, and /var/cache/rebase/rebase_exe: Permission denied If you use the --no-admin option, you need to do the initial and all subsequent installs must be performed as the same user. ... uhm, ok. Initial install and subsequent install were performed as the same user. But I

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Achim Gratz
Houder xs4all.nl> writes: > Perhaps not important, but when setup is invoked like this: > > E:\Setup\bld\setup.exe -B -n -R e:/Setup/test -l > e:/Setup/_test_repository > > that is, with -B > > /bin/rebaselst has trouble writing: > > /var/cache/rebase/r

Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Andrey Repin
Greetings, Houder! > Perhaps not important, but when setup is invoked like this: > E:\Setup\bld\setup.exe -B -n -R e:/Setup/test -l > e:/Setup/_test_repository > that is, with -B > /bin/rebaselst has trouble writing: > /var/cache/rebase/rebase_lst: Permission denied

/bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

2016-04-08 Thread Houder
Hi Achim, Perhaps not important, but when setup is invoked like this: E:\Setup\bld\setup.exe -B -n -R e:/Setup/test -l e:/Setup/_test_repository that is, with -B /bin/rebaselst has trouble writing: /var/cache/rebase/rebase_lst: Permission denied, and /var/cache/rebase/rebase_exe

Re: Permission denied error when running git in 64-bit CYGWIN console

2015-12-17 Thread John J Ottusch
Achim, Updating my 64-bit CYGWIN installation to the latest release (as of today), which includes git version 2.6.2, did in fact solve the problem I was experiencing. Thanks, jjo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documenta

Re: Permission denied error when running git in 64-bit CYGWIN console

2015-12-17 Thread Achim Gratz
John J Ottusch writes: > The transition from 32-bit CYGWIN (C32) to 64-bit CYGWIN (C64) has been > mostly smooth, but I have encountered some unexpected difficulties. The > latest involves 'git' version 2.5.3. Git is at version 2.6.2 in Cygwin at the moment, so whatever problem you have with ver

Permission denied error when running git in 64-bit CYGWIN console

2015-12-17 Thread John J Ottusch
avior, but doing the same in a C64 console produces the error fatal: cannot exec 'git-difftool': Permission denied It has been suggested that git generates this error because of an inaccessible directory in my $PATH. All the directories check out as accessible from

Re: "permission denied" issues when removing files/folders created by cygwin

2015-09-03 Thread Achim Gratz
Roger Pack gmail.com> writes: > It appears the problem lies with creating a file named "NUL" windows > utilities just don't know how to deal with it (you can recreate it by > creating a folder, then from cygwin bash $ touch NUL) then try and > remove the folder with windows explorer. That is like

Re: "permission denied" issues when removing files/folders created by cygwin

2015-09-03 Thread Roger Pack
On 9/1/15, Corinna Vinschen wrote: > On Sep 1 13:05, Michael Enright wrote: >> On Tue, Sep 1, 2015 at 12:48 PM, Roger Pack wrote: >> > It appears the problem lies with creating a file named "NUL" windows >> > utilities just don't know how to deal with it (you can recreate it by >> > creating a f

Re: "permission denied" issues when removing files/folders created by cygwin

2015-09-01 Thread Corinna Vinschen
On Sep 1 13:05, Michael Enright wrote: > On Tue, Sep 1, 2015 at 12:48 PM, Roger Pack wrote: > > It appears the problem lies with creating a file named "NUL" windows > > utilities just don't know how to deal with it (you can recreate it by > > creating a folder, then from cygwin bash $ touch NUL)

Re: "permission denied" issues when removing files/folders created by cygwin

2015-09-01 Thread Michael Enright
On Tue, Sep 1, 2015 at 12:48 PM, Roger Pack wrote: > It appears the problem lies with creating a file named "NUL" windows > utilities just don't know how to deal with it (you can recreate it by > creating a folder, then from cygwin bash $ touch NUL) then try and > remove the folder with windows ex

"permission denied" issues when removing files/folders created by cygwin

2015-09-01 Thread Roger Pack
As a note, after using cygwin to build some libraries (worked well, thanks team!) when trying to delete a folder via windows explorer, I got the message "Destination folder access denied, you need to confirm this action" (followed by a UAC prompt) and also "Delete folder, Invalid MS-DOS function"

file-error "doing chmod" "permission denied" issue

2015-07-12 Thread susja
Hello, I'm using cygwin 64bit on Windows 7. I'm using X-emacs under cygwin. In emacs I use eshell. When I open text file and modify it and then save I have this error: Error: (file-error "doing chmod" "permission denied" "") I followed all instructions t

Re: Problem with posix flags and permission denied on domain computer

2015-05-27 Thread Corinna Vinschen
On May 19 08:43, Jiří Engelthaler wrote: > I'd like to hear an answer from Corinna Vinschen pls. The problem with the given permissions is that they don't reflect anything comparable with POSIX ACLs. The Cygwin ACL code is based on trying to emulate POSIX ACL behaviour and the permissions you hav

RE: Problem with posix flags and permission denied on domain computer

2015-05-19 Thread Buchbinder, Barry (NIH/NIAID) [E]
Jirí Engelthaler sent the following at Tuesday, May 19, 2015 2:44 AM >I'd like to hear an answer from Corinna Vinschen pls. She's on vacation.

Re: Problem with posix flags and permission denied on domain computer

2015-05-18 Thread Jiří Engelthaler
DOM_LAN\engycz Allow ReadAttributes, WriteAttributes, >> Delete, ReadPermissions, ChangePermissions, TakeOwnership, Synchronize >> Audit : >> Sddl : >> O:S-1-5-21-270207346-1464484900-1734353810-5370G:DUD:P(D;;CCSWWP;;;S-1-5-21-270207346-1464484900-1734353810-5370)(A;;0x1

Re: Problem with posix flags and permission denied on domain computer

2015-05-13 Thread schilpfamily
5370)(A;;0x120080;;;WD)(A;;0x1301bf;;;AU)( > > A;;FA;;;SY)(A;;FA;;;BA)(A;;0x1200a9;;;BU)(A;;0x1200a9;;;DU)(A;;0x1f0180;;;S-1-5-21-270207346-1464484900-1734353810-5370) > > 2015-05-12 21:02 GMT+02:00 Jiří Engelthaler : >> I have problem with posix file flags and permission d

Re: Problem with posix flags and permission denied on domain computer

2015-05-13 Thread Jiří Engelthaler
0x1f0180;;;S-1-5-21-270207346-1464484900-1734353810-5370) 2015-05-12 21:02 GMT+02:00 Jiří Engelthaler : > I have problem with posix file flags and permission denied on computer > which is in domain. I have file on disk D: named foo. It is accessible > both in Windows and in Cygwin as /cyg

Problem with posix flags and permission denied on domain computer

2015-05-12 Thread Jiří Engelthaler
I have problem with posix file flags and permission denied on computer which is in domain. I have file on disk D: named foo. It is accessible both in Windows and in Cygwin as /cygdrive/d/foo but has flags rwx---+. If I copy this file to file named bar, it is not accessible in Cygwin nor in

Re: make install problem for emms (Permission denied)

2014-05-29 Thread Filipp Gunbin
On 30/05/2014 01:53 +0400, Christopher Faylor wrote: > On Fri, May 30, 2014 at 01:50:49AM +0400, Filipp Gunbin wrote: >>Also, it's strange that the install... command above works when run >>directly in shell, but fails when run from make. > > Which implies that you probably are not running /usr/bi

Re: make install problem for emms (Permission denied)

2014-05-29 Thread Christopher Faylor
On Fri, May 30, 2014 at 01:50:49AM +0400, Filipp Gunbin wrote: >Also, it's strange that the install... command above works when run >directly in shell, but fails when run from make. Which implies that you probably are not running /usr/bin/install. cgf -- Problem reports: http://cygwin.com/

make install problem for emms (Permission denied)

2014-05-29 Thread Filipp Gunbin
-browser.el lisp/emms-bookmarks.el /usr/local/share/emacs/site-lisp/emms make: execvp: install: Permission denied I think this is Cygwin-specific. I see some similar problems in cygwin list archives, but they occured a long ago and there are not much complaints. Yes, all permissions seem to be ok

Re: [1.7.27] cannot redirect output to /dev/clipboard: "write error: Permission denied"

2014-01-07 Thread Warren Young
On 1/7/2014 08:53, Corinna Vinschen wrote: On Jan 7 00:29, Jeremy Hetzler wrote: I am getting errors when using bash redirect syntax to write to /dev/clipboard. Reading works ok. # this does not work $ echo "foo bar" >file.txt $ cat file.txt >/dev/clipboard cat: write e

Re: [1.7.27] cannot redirect output to /dev/clipboard: "write error: Permission denied"

2014-01-07 Thread Jeremy Hetzler
;file.txt >> >> $ cat file.txt >/dev/clipboard >> cat: write error: Permission denied > > That's supposed to be fixed in CVS since 2013-12-10. Try a recent > snapshot. > > > Corinna > Works a treat, thanks. -- Jeremy -- Problem reports:

Re: [1.7.27] cannot redirect output to /dev/clipboard: "write error: Permission denied"

2014-01-07 Thread Corinna Vinschen
On Jan 7 00:29, Jeremy Hetzler wrote: > I am getting errors when using bash redirect syntax to write to > /dev/clipboard. Reading works ok. > > # this does not work > $ echo "foo bar" >file.txt > > $ cat file.txt >/dev/clipboard > cat: write error: Permis

[1.7.27] cannot redirect output to /dev/clipboard: "write error: Permission denied"

2014-01-06 Thread Jeremy Hetzler
I am getting errors when using bash redirect syntax to write to /dev/clipboard. Reading works ok. # this does not work $ echo "foo bar" >file.txt $ cat file.txt >/dev/clipboard cat: write error: Permission denied # nor this $ ls -la >/dev/clipboard ls: write error: Permission

Re: popen: Permission denied - error opening man page

2013-10-31 Thread Balaji Venkataraman
I finally managed to solve this. As strange (or wildly speculative) as it may sound, I have concluded the problem is related to chere (cygwin bash prompt here) somehow interfering with the permissions on sh.exe. If anybody is interested in more details, I can provide them. Thanks to Larry for his h

Re: popen: Permission denied - error opening man page

2013-10-30 Thread Balaji Venkataraman
e /bin/sh.exe 1c65ac9a75207693798694b294620a76 */bin/bash.exe 1c65ac9a75207693798694b294620a76 */bin/sh.exe x86$ /bin/sh.exe bash: /bin/sh.exe: Permission denied x86$ echo $SHLVL 1 x86$ /bin/bash.exe x86$ echo $SHLVL 2 Thanks, Balaji -- Problem reports: http://cygwin.com/problems.html FA

Re: popen: Permission denied - error opening man page

2013-10-28 Thread Larry Hall (Cygwin)
On 10/25/2013 5:19 PM, Balaji Venkataraman wrote: On Fri, Oct 25, 2013 at 12:21 PM, Larry Hall (Cygwin) wrote: Perhaps not but it's worth checking your shells at least. Not sure I understand exactly what you mean. The thread you pointed to suggested that a shell had permissions problems. W

Re: popen: Permission denied - error opening man page

2013-10-25 Thread Larry Hall (Cygwin)
On 10/24/2013 6:34 PM, Balaji Venkataraman wrote: I completely wiped my Cygwin32 install and re-installed the bare minimum set of packages. But I still can't get something as basic as 'man ls' to run from a non-admin mintty bash shell. x86$ man ls popen: Permission denied At

popen: Permission denied - error opening man page

2013-10-24 Thread Balaji Venkataraman
I completely wiped my Cygwin32 install and re-installed the bare minimum set of packages. But I still can't get something as basic as 'man ls' to run from a non-admin mintty bash shell. x86$ man ls popen: Permission denied Attempt [/usr/bin/gunzip -c /usr/share/man/man1/ls.1.gz

Re: /dev/sdb permission denied

2013-04-09 Thread Andrey Repin
Greetings, andrei! > result of 'ls /dev/sd*': > I should have /dev/shm and /dev/mqueue and possibly other directories in the > /dev directory? If you list files matching /dev/sd* pattern, you're unlikely to see anything other, than what you're looking for. I hope, that was a simple oversight on

Re: /dev/sdb permission denied

2013-04-09 Thread Corinna Vinschen
On Apr 9 10:41, andrei wrote: > Larry Hall (Cygwin cygwin.com> writes: > > What's the result of 'ls /dev/sd*'? > > Hello Larry, > > result of 'ls /dev/sd*': > > $ ls /dev/sd* > /dev/sda /dev/sda2 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 > /dev/sda1 /dev/sdb /dev/sdc /dev/sdd /dev/s

Re: /dev/sdb permission denied

2013-04-09 Thread andrei
gt; Running above command displays: dd: opening `/dev/sdb': Permission denied > > > > Searched for solutions, but could not find anything to solve. Also tried > > running cygwin as administrator but still the same problem. > > > > Do I have to mount the /dev/sdb or i

Re: /dev/sdb permission denied

2013-04-08 Thread Larry Hall (Cygwin)
On 4/8/2013 12:04 PM, andrei wrote: Hi Running version 1.7.17-1 Trying to $ dd if=/dev/sdb of=/dev/null count=10 - compact flash card in the PC CF card reader. Running above command displays: dd: opening `/dev/sdb': Permission denied Searched for solutions, but could not find anythi

/dev/sdb permission denied

2013-04-08 Thread andrei
Hi Running version 1.7.17-1 Trying to $ dd if=/dev/sdb of=/dev/null count=10 - compact flash card in the PC CF card reader. Running above command displays: dd: opening `/dev/sdb': Permission denied Searched for solutions, but could not find anything to solve. Also tried running cygw

Permission denied for Serial Ports

2013-03-31 Thread unix1970
Hi, i have the following problem: Everytime when I try to get access to the Serial Ports I get the feedback that the permission is denied: $ /opt/owfs/bin/owhttpd -d /dev/ttyS0 -p 2010 --foreground DEFAULT: ow_serial_open.c:(38) [Permission denied] Cannot open port: /dev/ttyS0 Permissions problem

Re: Domain User getting "Permission Denied" for anything outside of /home//

2013-03-28 Thread nyc-it
Terminal and relaunch the profile should load properly this time without errors. 9) Confirm that you are in your current working directory by typing in pwd press Enter 10) Done -- View this message in context: http://cygwin.1069669.n5.nabble.com/Domain-User-getting-Permission-Denied-for-anythin

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-13 Thread René Berber
On 3/13/2013 9:14 AM, Bob McGowan wrote: $ cygcheck ./O*dll C:\cygwin\home\rmcgowan\work\modules\install\DBD\DBD-Oracle-1.27\blib\arch\auto\DBD\Oracle\Oracle.dll C:\app\rmcgowan\product\11.2.0\bin\OCI.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\app\

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-13 Thread Bob McGowan
Sure: $ cygcheck ./O*dll C:\cygwin\home\rmcgowan\work\modules\install\DBD\DBD-Oracle-1.27\blib\arch\auto\DBD\Oracle\Oracle.dll C:\app\rmcgowan\product\11.2.0\bin\OCI.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\app\rmcgowan\product\11.2.0\bin\MSVCR80.dll

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-13 Thread marco atzeri
On 3/13/2013 12:09 AM, Bob McGowan wrote: HI, This is still an issue, reference to my original email is "http://cygwin.com/ml/cygwin/2013-03/msg00062.html";. I'm now subscribed, so I'll be able to read all answers now. Per 'marco atzeri' (see http://cygwin.com/ml/cygwin/2013-03/msg00065.html),

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-12 Thread Bob McGowan
HI, This is still an issue, reference to my original email is "http://cygwin.com/ml/cygwin/2013-03/msg00062.html";. I'm now subscribed, so I'll be able to read all answers now. Per 'marco atzeri' (see http://cygwin.com/ml/cygwin/2013-03/msg00065.html), I have gotten a copy of 'DependencyWal

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-05 Thread Bob McGowan
ISO8859P15 So, instant client dll's should be accessable, via PATH, I have a DSN and USERID that work in other environments, so should be OK here, and ORACLE_HOME set. I've even set NLS_LANG, just in case. I still get the same permission denied error, and 'ldd .../Oracle.dll' sho

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-05 Thread Reini Urban
ake test' fails the first test: > > Can't load ... Oracle.dll for module DBD::Oracle: Permission denied... I'm not sure if the Dynaloader fails, or if the connection to the oracle db fails with this error. If it's the Dynaloader be sure that all dependencies can be l

Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-04 Thread marco atzeri
'dlltool' making the right thing, The 'perl Makefile.PL' generates no errors. My 'make' creates Oracle.dll without any major issues (a few minor complaints about mismatched types in printf, pointer casts, ...). The 'make test' fails the first test: Can't l

Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied

2013-03-04 Thread Bob McGowan
e.dll without any major issues (a few minor complaints about mismatched types in printf, pointer casts, ...). The 'make test' fails the first test: Can't load ... Oracle.dll for module DBD::Oracle: Permission denied... I've searched the FAQ (found 15 articles with similar i

Re: dd "permission denied"

2013-01-17 Thread marco atzeri
On 1/17/2013 1:02 PM, Marilo wrote: Connected an internal drive externally to USB. Partitioned it formatted it in Windows 7. tod@comp $ cygpath -w /dev/sdc1 \\.\G: $ dd if=/cygdrive/c/img/image13gb.img of=/dev/sdc1 dd: writing to `/dev/sdc1': Permission denied 17+0 records in 16+0 re

Re: Domain User getting "Permission Denied" for anything outside of /home//

2012-11-07 Thread Larry Hall (Cygwin)
omain users only. The current process was to install cygwin under the local administrator, run mkpasswd/mkgroup -l, then image it. When the domain user first logged on, they would run mkpasswd/mkgroup -d, but it's giving them the error message above (Permission Denied) to append to the /etc/pass

Re: Domain User getting "Permission Denied" for anything outside of /home//

2012-11-07 Thread Cameron Gunnin
; > mkpasswd -l [-d] > /etc/passwd > > mkgroup -l [-d] > /etc/group > > > > Note that the -d switch is necessary for domain users. > > > > 3) Attempt to run "mkpasswd -d >> /etc/passwd" and "mkgroup -d >> > > /etc/group" &g

Re: Domain User getting "Permission Denied" for anything outside of /home//

2012-11-05 Thread Larry Hall (Cygwin)
rebuilt. See the man pages for mkpasswd and mkgroup then, for example, run mkpasswd -l [-d] > /etc/passwd mkgroup -l [-d] > /etc/group Note that the -d switch is necessary for domain users. 3) Attempt to run "mkpasswd -d >> /etc/passwd" and "mkgroup -d >> /etc/

Domain User getting "Permission Denied" for anything outside of /home//

2012-11-02 Thread Cameron Gunnin
n "mkpasswd -d >> /etc/passwd" and "mkgroup -d >> /etc/group" However, I get the message: $ mkpasswd -d >> /etc/passwd -sh: /etc/passwd: Permission Denied If I run "ls -al /" then I get an odd (but expected, I think) list of permissions on several root

Re: ATTENTION JARI AALTO Re: quilt: permission denied problems with helper scripts

2012-09-15 Thread Peter Rosin
On 2012-09-15 08:09, Jari Aalto wrote: > New release with the fixes has been submitted to the archives. Thanks! Cheers, Peter -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe in

Re: ATTENTION JARI AALTO Re: quilt: permission denied problems with helper scripts

2012-09-14 Thread Jari Aalto
2012-09-14 18:33 Peter Rosin : | | On 2012-09-14 16:16, Christopher Faylor wrote: | > On Fri, Sep 14, 2012 at 01:05:08PM +0200, Peter Rosin wrote: | | >> $ ls -lG /usr/share/quilt/scripts | | >> -rw-r--r-- 1 peda 13114 May 24 2011 dependency-graph | >> ... | >> should all be chmod +x | | Oh, forgo

Re: ATTENTION JARI AALTO Re: quilt: permission denied problems with helper scripts

2012-09-14 Thread Christopher Faylor
On Fri, Sep 14, 2012 at 05:33:58PM +0200, Peter Rosin wrote: >[I already had Jari on bcc, given the track record, but I managed not >to scream :-) He's on bcc this time too] I used all caps (and bcc'ed him) specifically because he often seems to miss these discussions. cgf -- Problem reports:

Re: ATTENTION JARI AALTO Re: quilt: permission denied problems with helper scripts

2012-09-14 Thread Peter Rosin
ran into this: >> >> peda@pulkan ~/newlib/src/newlib >> $ quilt refresh >> /usr/share/quilt/refresh: line 253: >> /usr/share/quilt/scripts/remove-trailing-ws: Permission denied >> Patch patches/wordexp-avoid-strdup.patch is unchanged >> >> peda@p

ATTENTION JARI AALTO Re: quilt: permission denied problems with helper scripts

2012-09-14 Thread Christopher Faylor
On Fri, Sep 14, 2012 at 01:05:08PM +0200, Peter Rosin wrote: >Hi! > >When working on some newlib patches, ran into this: > >peda@pulkan ~/newlib/src/newlib >$ quilt refresh >/usr/share/quilt/refresh: line 253: >/usr/share/quilt/scripts/remove-trailing-ws: Permission denie

quilt: permission denied problems with helper scripts

2012-09-14 Thread Peter Rosin
Hi! When working on some newlib patches, ran into this: peda@pulkan ~/newlib/src/newlib $ quilt refresh /usr/share/quilt/refresh: line 253: /usr/share/quilt/scripts/remove-trailing-ws: Permission denied Patch patches/wordexp-avoid-strdup.patch is unchanged peda@pulkan ~/newlib/src/newlib $ ls

  1   2   3   4   5   6   7   >