Samba mount with fmask 664, ro files still exist.

Alexey Fadyushin fab at s-tunnel.com
Thu Feb 24 13:51:23 UTC 2005


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.
>
>  
>




More information about the redhat-list mailing list