Mailinglist Archive: opensuse (2348 mails)

< Previous Next >
Re: Fwd: [opensuse] Sharing folders with Samba
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Tue, 1 Apr 2008 10:08:15 -0700
  • Message-id: <200804011008.16100.rschulz@xxxxxxxxx>
On Tuesday 01 April 2008 09:17, David C. Rankin wrote:
Bogdan Cristea wrote:
...

Both directories can be read by others.
However, after double checking the configurations of both
directories in samba server, now both directories are not
accessible from Windows. ...

Do you have the "x" execute bit set? Remember in samba the "x" gives
descend into directory permission. Make sure you "chmod 0755 dirname"
or at least "chmod 0750 dirname" on the directory you can't see and
I'll bet you can see it then.

Actually, the x bit is required to do more than enumerate the contents
of a directory (e.g., to open a file within that directory or to cd
into it) in all Unix and Linux systems and has nothing to do with
Samba.

Conversely, one need not have read access to a directory to access an
entry within it if you know the name (and the x bit is set). Without
read access, you will not be able enumerate the directory's contents to
discover what's in there.


--
David C. Rankin


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread