cifs mount options "uid,gid" broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jcifs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: smbfs
If a cifs share is mounted with uid=bla specified, that forced mapping is inactive for a short time after the creation of a new directory. I did not find any upstream bug that describes the same problem.
The following transcript shows the situation. Reproducible on any share (windows server, xp or samba).
[52/4940]
[53/4941]
[55/4943]
[56/4944]
[57/4945]
drwxr-xr-x 3 rj rj 0 2008-04-25 15:16 a/
drwxr-xr-x 2 rj rj 0 2008-04-25 15:16 a/b/
[58/4946]
[59/4947]
mkdir: cannot create directory `a/b': Permission denied
[60/4948]
drwxr-xr-x 2 rj rj 0 2008-04-25 15:17 a/
[61/4949]
[62/4950]
drwxr-xr-x 2 rj rj 0 2008-04-25 15:17 a/b/
[63/4951]
[64/4952]
mkdir: cannot create directory `a/b': Permission denied
[65/4953]
[66/4954]
[67/4955]
drwxr-xr-x 3 rj rj 0 2008-04-25 15:17 a/
drwxr-xr-x 2 rj rj 0 2008-04-25 15:17 a/b/
[68/4956]
[69/4957]
drwxr-xr-x 2 3008 1019 0 2008-04-25 15:17 a/
drwxr-xr-x 2 rj rj 0 2008-04-25 15:17 a/
[70/4958]
(3008/1019 are the uid/gid on the samba server)
Workaround:
use noperm as a mount option. but that opens up the mount to everyone locally.
Description: Ubuntu 8.04
Release: 8.04
smbfs:
Installed: 3.0.28a-1ubuntu4
Candidate: 3.0.28a-1ubuntu4
Version table:
*** 3.0.28a-1ubuntu4 0
500 http://
100 /var/lib/
Changed in linux: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → High |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | New → Triaged |
tags: | added: kernel-bug verification-needed |
Changed in linux (Ubuntu): | |
status: | Triaged → Fix Released |
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:
1) If you are comfortable installing packages on your own, the linux-image- 2.6.27- * package is currently available for you to install and test.
--or--
2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http:// www.ubuntu. com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.
Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.