| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 22 May 2006 11:55:42 -0500 |
| From: | Peter Fales <psfales AT lucent DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Read-only samba directory appears writable to Cygwin |
| Message-ID: | <20060522165542.GA21403@lucent.com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.4.2.1i |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
We've got a directory which is mounted from a Samba server. The server
is sharing the directory as read-only. However under Cygwin
access("/path/to/samba/mount/some_file",W_OK)
is returning 0, indicating the that file is writable. I assume this
is because Cygwin doesn't "know" that directory is read-only. Is there
any workaround (such as an option to "mount") that would tell cygwin
that the directory is read-only, or that all directories have 555 permission
instead of 755?
--
Peter Fales
Lucent Technologies
Member of Technical Staff
2000 Lucent Lane
Room: 1C-436
Naperville, IL 60566-7033
Email: psfales AT lucent DOT com
Phone: 630 979 8031
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |