[Bug 224317] [NEW] Minimal rights samba share

markba mark.baaijens at gmail.com
Tue Apr 29 18:22:14 BST 2008


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:
user at dell:/media/lin01-public/Data$ ls -l ..
drwxrwxrwx  4 root root 0 2008-04-29 19:19 Data

# Create a file:
user at dell:/media/lin01-public/Data$ echo test > test.txt

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

# umount & mount
user at dell:~$ sudo umount /media/lin01-public/
user at dell:~$ sudo mount -a

# Check rights of created file (now: full):
user at dell:/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.



More information about the Ubuntu-server-bugs mailing list