Linux and Windows File Permissions

Hi

Can someone help here with a question related to some work I’m doing?

A file is created in a Linux directory with permissions set as required.

The file is available to users, but via Windows. When the file is made available in Windows, do the Linux file permissions still hold, or is the file completely insecure?

Thanks for any info.

Hi,

basically, the file is completely insecure.

HTH

Lenwolf

Thanks.

That was what I thought was the case, but I couldn’t be sure.

On 09/16/2011 10:36 AM, aescott wrote:
>
> The file is available to users, but via Windows. When the file is made
> available in Windows, do the Linux file permissions still hold, or is
> the file completely insecure?

MS-Windows is not able to understand/use Linux file permissions (by
programming design it is unable to look at or respond to them)…

on the other hand: folks sitting at a MS-Windows box have zero ability
to execute a file on the Linux box…and, they should have zero ability
to change the file or in any way write to the Linux partition…

well! let me say they should only be able to view/download all files
inside a directory they have access to via the means by which you have
allowed access (how is that? that is, access ability via FTP is
different than that by VPN, ssh, nsf, etc etc etc…each method has it
own (different) ability to protect, or not.)

mixing linux and windows is complicated–which is the way Bill and Steve
want it. (they don’t really want you to mix it)


DD
openSUSE®, the “German Automobiles” of operating systems

Also, there is software (the name escapes me right now) that lets you read ext2/3/4 formatted disks from within windows (this presumes a dual boot windows & linux machine, or a linux system on an external drive).

That software doesn’t care at all about file permissions. I could read my root dir & copy files from it without any trouble… I don’t think it can write to the ext2/3/4 file system though…
Just google for window + ext2…
HTH

Lenwolf

What exactly do you mean by that?

In general the effective permissions will be the most restrictive of the union of the filesystem(linux) and the access protocol (Samba, HTTP, etc.) permissions.

On Fri, 16 Sep 2011 10:36:02 GMT, lenwolf
<lenwolf@no-mx.forums.opensuse.org> wrote:

>
>DenverD;2384703 Wrote:
>> On 09/16/2011 10:36 AM, aescott wrote:
>> >
>>
>> on the other hand: folks sitting at a MS-Windows box have zero ability
>> to execute a file on the Linux box…and, they should have zero
>> ability
>> to change the file or in any way write to the Linux partition…
>>
>
>
>Also, there is software (the name escapes me right now) that lets you
>read ext2/3/4 formatted disks from within windows (this presumes a
>dual boot windows & linux machine, or a linux system on an external
>drive).
>
>That software doesn’t care at all about file permissions. I could read
>my root dir & copy files from it without any trouble… I don’t think it
>can write to the ext2/3/4 file system though…
>Just google for window + ext2…
>HTH
>
>Lenwolf

There is actually a couple of different ones, and most if not all can
create, write, and delete files.

?-)

> There is actually a couple of different ones, and most if not all can
> create, write, and delete files.

it will be a very cold day indeed when i let a Redmond product write
anything on any of my EXTx partitions.

i can’t imagine the havoc that may come.


DD
openSUSE®, the “German Automobiles” of operating systems

On 2011-09-16 10:36, aescott wrote:
> The file is available to users, but via Windows. When the file is made
> available in Windows,

How do you make the file available to users via windows?
Your question can not be answered properly unless you answer that first.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Sat, 17 Sep 2011 15:07:00 GMT, DenverD
<DenverD@no-mx.forums.opensuse.org> wrote:

>> There is actually a couple of different ones, and most if not all can
>> create, write, and delete files.
>
>it will be a very cold day indeed when i let a Redmond product write
>anything on any of my EXTx partitions.
>
>i can’t imagine the havoc that may come.

These products do not come from Redmond, but they run on that OS. Easy
enough to find with a net search.

Just the same, while i have these tools, it is a frosty day in the tropics
when i use them. Knoppix and other native tools are sooo much more
comfortable.

?-)