Public bug reported:

Binary package hint: smbfs

I have a samba-share (on a Dapper-server) mounted through /etc/fstab:
//lin01/public /media/lin01-public cifs 
lfs,file_mode=0777,dir_mode=0777,codepage=cp850,iocharset=utf8 0 0

I can browse the share without a problem, but when I try to write,
rights are not set appropriate, so to spweak, they are minimal. Only
after a unmount/mount-cycle, the normal rights appear.

Steps to reproduce:

# Map has full rights initially:
[EMAIL PROTECTED]:/media/lin01-public/Data$ ls -l ..
drwxrwxrwx  4 root root 0 2008-04-29 19:19 Data

# Create a file:
[EMAIL PROTECTED]:/media/lin01-public/Data$ echo test > test.txt

# Check rights of created file (now: minimal):
[EMAIL PROTECTED]:/media/lin01-public/Data$ ls -l test.txt
-rw-r--r-- 1 root root 5 2008-04-29 19:21 test.txt

# umount & mount
[EMAIL PROTECTED]:~$ sudo umount /media/lin01-public/
[EMAIL PROTECTED]:~$ sudo mount -a

# Check rights of created file (now: full):
[EMAIL PROTECTED]:/media/lin01-public/Data$ ls -l test.txt
-rwxrwxrwx 1 root root 5 2008-04-29 19:21 test.txt

This worked OK in Gutsy, so this is a regression in Hardy

Also tried different mount-options, all with no effect: 
- smbfs (instead of cifs), depricated
- fmask (instead of file_mode), depricated
- dmask (instead of dir_mode), depricated

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

-- 
Minimal rights samba share
https://bugs.launchpad.net/bugs/224317
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to