Samba mount with fmask 664, ro files still exist.

Patrick Campbell PCampbell at ourvacationstore.com
Thu Feb 24 16:50:46 UTC 2005


They're read only on windows, we're trying to get around this somehow... I
thought that using the fmask would override the existing permissions(?) 


-- 
Patrick Campbell
OurVacationStore.com
Website Administrator
Tel. 602.896.4729
-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
On Behalf Of Alexey Fadyushin
Sent: Thursday, February 24, 2005 6:51 AM
To: General Red Hat Linux discussion list
Subject: Re: Samba mount with fmask 664, ro files still exist.

What are the permissions of those read-only files on the machine from 
which you are mount them? It seems that files which are read-only on 
mounted filesystem are read only on the original filesystem, and 
therefore could not be written. In this case the computer on which the 
files are actually stored will block write access even if the files are 
shown as not read-only on your computer.

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com


Patrick Campbell wrote:

>Is there a way to get around this?
>
>I'm mounting using
>
>smbmount //$1/$2 /smbmounts/$3/$1/ -o
>credentials=/root/.smb/login.conf,uid=apache,gid=wheel,dmask=775,fmask=664 
> 
>Everything seems to be fine but these read-only files (chmod of 444) still
>exist.
>
>  
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list