[linux-cifs-client] chmod +x doesn't work with cifs

Dave Kleikamp shaggy at linux.vnet.ibm.com
Mon Sep 10 02:23:42 GMT 2007


On Thu, 2007-09-06 at 15:44 +0200, Eric PEYREMORTE wrote:
> Hi all,
> 
> I have users home directories mounted with cifs, unix extensions enabled 
> with samba 3.0.24.
> 
> When changing permissions with chmod i can change whatever i want : rw 
> but can't set any file with +x...
> 
> i use the following options :
> rw, setuids, serverino, mapchars, nobrl
> 
> i tried removing the option but doesn't change the chmod problem...
> 
> I'm really desperate... please help...

Is the mount being performed by root?  If it's being done by a non-root
user, noexec and nosuid are set automatically.  You should be able to
add the exec option to override this.

Shaggy
-- 
David Kleikamp
IBM Linux Technology Center



More information about the linux-cifs-client mailing list