Public bug reported:

Binary package hint: smbfs

I have a question regarding file-permissions using the linux-cifs-client

I'm using Ubuntu 8.04 and right now I'm using the fusesmb utility to access 
shares on samba servers. This works fine, 
but it's a little aggressive regarding network traffic. Ubuntu's built in 
fuse-gvfs solution is not good enough, because 
quite a few programs won't load/save files using this.
Therefore I thought that the right way, should be to use the cifs-client.
I think the responsible module in Ubuntu is "smbfs" cersion 3.0.28a-1ubuntu4.2.
Example: I want to access files on the following share on a samba-server 
(3.0.21) - security on the server is USER.

comment = Edb
path = /home/afdeling/edb
read only = no
force group = edb
create mask = 660
directory mask = 770
valid users = +edb

I put the following in /etc/fstab

//ESERVER/edb /mnt/edb cifs
credentials=/root/.smbinfo,uid=1000,gid=1000,iocharset=utf8  0   0

The share mounts just fine using the username "ho" and password from the 
.smbinfo-textfile.
The problem is, that if I save a file on the share

-rw--w----    1 ho       edb             6 Jun 22 21:38 TEST.txt

It should have had -rw-rw--- User and group is correct.

If I create a directory

drwx------    2 ho       edb          4096 Jun 22 21:38 TEST

This should have been drwxrwx---. User and group is correct.
I've tried using different combinations of mounting parameters, such as 
,file_mode=0660,dir_mode=0770, but it 
doesn't seem to have any effect. The result is always the same.

Am I missing out on something simple here?? Or is cifs buggy. And shouldn't the 
files and directories on the server 
be controlled by the server settings, that would be the most sensible, it seems 
to me.

Hans Otto Lunde
Egmont Højskolen
Denmark

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
problems with file-permissions using linux-cifs-client
https://bugs.launchpad.net/bugs/263228
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to