Greetings, Michel Bardiaux!
>> From: Andrey Repin
>> Mode on the *nix side seems unimportant, as Samba fakes ACL, if client do
>> not understand native modes.
> It is unimportant if the samba share is just a file server for Windows
> machines.
It is unimportant in the currently discussed issue.
> From: Andrey Repin
> Mode on the *nix side seems unimportant, as Samba fakes ACL, if client
do not understand native
> modes.
It is unimportant if the samba share is just a file server for Windows
machines. But if you also work on 'nix machines, locally on that server
or via nfs, then you want m
Greetings, Michel Bardiaux!
>> Another point of note: from my memory, samba fakes ACLs to represent
>> permissions. This may include many strange things.
>> For example, most of that ^^ directory content has 0777 perms, but
>> when I look from Cygwin, it
>> coming out more granular.
> Which is wh
> From Andrey Repin
[snip]
>> 0744 for global, 0755 for homes (the relevant share in my case), 0022
>> as cygwin umask.
Sorry, correction: create mask 0744, create mode 0755. Which does help
my confusion:
>> I would expect files created on the cygwin side to have 0755 on the
>> linux side (or
Greetings, Michel Bardiaux!
>>> I have also tried the same as you did (len.sh on a samba share) and
>>> saw the same problem. Then I saw that the len.sh got a (cygwin *and*
>>> linux) mode of -rwxrw-r-- *without* doing any chmod. Then I saw that
>>> *every* file I create on the samba share, gets
> Greetings, Michel Bardiaux!
>
>> I have also tried the same as you did (len.sh on a samba share) and
>> saw the same problem. Then I saw that the len.sh got a (cygwin *and*
>> linux) mode of -rwxrw-r-- *without* doing any chmod. Then I saw that
>> *every* file I create on the samba share, gets
Greetings, Michel Bardiaux!
> I have also tried the same as you did (len.sh on a samba share) and saw
> the same problem. Then I saw that the len.sh got a (cygwin *and* linux)
> mode of -rwxrw-r-- *without* doing any chmod. Then I saw that *every*
> file I create on the samba share, gets the same
Sorry, forgot to change the recipient.
-Original Message-
> [snip]
>
>> lgiambro@lorien ~
>> $ cat len.sh
>> #!/bin/sh
>> echo it works
>
> And man sh states " --norc Do not read and execute the personal
> initialization file ~/.bashrc if the
> shell is interactive. Thi
[snip]
>> Y: /cygdrive/y smbfs binary,noacl,auto 0 0
> That won't work. Don't try to overload the cygdrive prefix for single
> drives, that's not supported.
Ooops. How do I restore the normal default? It no longer appears in 'mount'.
> Use something like
> Y: /my_y_drive whatever binary,noac
On Apr 23 14:26, Michel Bardiaux wrote:
> [snip]
>
> > You could mount the samba share with "noacl",
> > see http://cygwin.com/cygwin-ug-net/using.html#mount-table
> > Corinna
>
> Thanks for the suggestion. I have added this to /etc/fstab:
>
> Y: /cygdrive/y smbfs binary,noacl,auto 0 0
That won
On Apr 23 13:53, Corinna Vinschen wrote:
> On Apr 23 13:02, Michel Bardiaux wrote:
> > [snip]
> >
> > > lgiambro@lorien ~
> > > $ cat len.sh
> > > #!/bin/sh
> > > echo it works
> >
> > And man sh states " --norc Do not read and execute the personal
> > initialization file ~/.bashrc if the
> >
[snip]
> You could mount the samba share with "noacl",
> see http://cygwin.com/cygwin-ug-net/using.html#mount-table
> Corinna
Thanks for the suggestion. I have added this to /etc/fstab:
Y: /cygdrive/y smbfs binary,noacl,auto 0 0
Closed all cygwin windows, reopened one (mintty), mount says:
C:/
On Apr 23 13:02, Michel Bardiaux wrote:
> [snip]
>
> > lgiambro@lorien ~
> > $ cat len.sh
> > #!/bin/sh
> > echo it works
>
> And man sh states " --norc Do not read and execute the personal
> initialization file ~/.bashrc if the
> shell is interactive. This option is on by defa
On Mon, Apr 23, 2012 at 7:02 AM, Michel Bardiaux wrote:
> [snip]
>
>> lgiambro@lorien ~
>> $ cat len.sh
>> #!/bin/sh
>> echo it works
>
> And man sh states " --norc Do not read and execute the personal
> initialization file ~/.bashrc if the
> shell is interactive. This option is
[snip]
> lgiambro@lorien ~
> $ cat len.sh
> #!/bin/sh
> echo it works
And man sh states " --norc Do not read and execute the personal
initialization file ~/.bashrc if the
shell is interactive. This option is on by default if the
shell is invoked
as sh."
Which el
-Len
On Apr 19, 2012, at 7:37 AM, Earnie Boyd wrote:
> On Wed, Apr 18, 2012 at 3:44 PM, Len Giambrone
> wrote:
>> No. That works. presumably because it's executing "bash" and not
>> the script itself.
>
> http://cygwin.com/acronyms/#TOFU
>
> And does the script contain #! /bin/sh or the
-Len
On Apr 19, 2012, at 4:29 AM, Michel Bardiaux wrote:
> 2 suggestions:
>
> 1. What happens if len.sh is in your Cygwin home, that is on the local
> drive?
lgiambro@lorien ~
$ ./len.sh
it works
>
> 2. What happens with "sh -x ./len.sh" (on the network drive)?
>
lgiambro@lorien //kits
On Wed, Apr 18, 2012 at 3:44 PM, Len Giambrone
wrote:
> No. That works. presumably because it's executing "bash" and not
> the script itself.
http://cygwin.com/acronyms/#TOFU
And does the script contain #! /bin/sh or the like on line 1 column 1?
--
Earnie
-- https://sites.google.com/site/ear
2 suggestions:
1. What happens if len.sh is in your Cygwin home, that is on the local
drive?
2. What happens with "sh -x ./len.sh" (on the network drive)?
HaND,
-Original Message-
No. That works. presumably because it's executing "bash" and not the
script itself.
-Len
On Apr 18,
No. That works. presumably because it's executing "bash" and not
the script itself.
-Len
On Apr 18, 2012, at 1:49 PM, Earnie Boyd wrote:
> On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone
> wrote:
>> I'm can't execute shell scripts on a samba share served by our linux boxes.
>>
>> lgiambro
On Wed, Apr 18, 2012 at 11:44 AM, Len Giambrone
wrote:
> I'm can't execute shell scripts on a samba share served by our linux boxes.
>
> lgiambro@lorien //kitserver/kits
> $ ls -la len.sh
> -rwx-- 1 lgiambro releng 24 Apr 18 10:48 len.sh
>
> lgiambro@lorien //kitserver/kits
> $ cat len.sh
> #!
I'm can't execute shell scripts on a samba share served by our linux boxes.
lgiambro@lorien //kitserver/kits
$ ls -la len.sh
-rwx-- 1 lgiambro releng 24 Apr 18 10:48 len.sh
lgiambro@lorien //kitserver/kits
$ cat len.sh
#!/bin/sh
echo it works
lgiambro@lorien //kitserver/kits
$ ./len.sh
-bash
22 matches
Mail list logo