fstab cifs mounted drive won't write

Bug #399199 reported by frankie
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I can't write to a samba share server when requesting the mount from /etc/fstab. Read is ok, but writing returns:

  setting times of `/media/server/drive/a.txt': Invalid argument

Mounting the share from nautilus works ok.

I found a workaround :

Write a file "/etc/modprobe.d/cifs.conf"

  install cifs modprobe --ignore-install cifs && echo 1 > /proc/fs/cifs/LinuxExtensionsEnabled

That solved the problem. I wonder if that should be enabled by default to everybody.

Revision history for this message
frankie (frankie-etsetb) wrote :

The workaround was wrong, the right one is "echo 0". The line is:

install cifs modprobe --ignore-install cifs && echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

That doesn't mean the bug isn't happening, it was only the fix that was wrong.

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in samba

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → samba (Ubuntu)
Revision history for this message
Chuck Short (zulcss) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in samba (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.