![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() |
Can't Write to CIFS share after upgrade to 9.10
My home network has a file server running Ubuntu server. I have my desktop attached to it via a SAMBA/CIFS share which just mounts my home directory on that system (obelisk) as a directory for my desktop. I could read/write to the dir with no problems. Both were running 9.04. I the desktop to 9.10 today and I find that I can no longer write to my home directory through the share. My work laptop, running Windows Vista, can connect and write to the share.
The relevant line in my fstab is: Code:
# Samba share on obelisk //10.11.93.2/nexist /home/nexist/obelisk cifs username=nexist,password=****,nounix,iocharset=utf8 0 0 |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2009
Beans: 2
|
Re: Can't Write to CIFS share after upgrade to 9.10
Having the same problem. cifs-shares mounted via fstab or mount.cifs are always read-only.
When mounting through gnome.vfat read-write-access is possible. Any suggestions? |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2009
Beans: 1
|
Re: Can't Write to CIFS share after upgrade to 9.10
I have the same problem with cifs share. Only read, no write.
The mount worked fine in 9.04. Is this a bug? |
|
|
|
|
|
#4 |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,891
Xubuntu 8.04 Hardy Heron
|
Re: Can't Write to CIFS share after upgrade to 9.10
I've posted a fix for this in my howto (2nd link in my sig). It's listed under: KARMIC: Files owned by root / "The folder contents could not be displayed"
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() |
Re: Can't Write to CIFS share after upgrade to 9.10
|
|
|
|
|
|
#6 | ||
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,891
Xubuntu 8.04 Hardy Heron
|
Re: Can't Write to CIFS share after upgrade to 9.10
Quote:
Quote:
Code:
sudo iptables -L
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
||
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() |
Re: Can't Write to CIFS share after upgrade to 9.10
Here is the fstab
Code:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda3 UUID=f736b56c-870a-45dd-8a2d-fc8cc8b220ed / ext3 relatime,errors=remount-ro 0 1 # /dev/sda2 UUID=ba58f240-fec8-4f0d-be43-4efbbf169d88 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 # # Samba share on obelisk //10.11.93.2/nexist /home/nexist/obelisk cifs username=nexist,password=******,nounix,iocharset=utf8,noserverino 0 0 # # For USB access with Virtualbox none /proc/bus/usb usbfs devgid=126,devmode=664 0 0 Code:
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2007
Beans: 2
|
Re: Can't Write to CIFS share after upgrade to 9.10
Try with this options added at the end:
Code:
,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 |
|
|
|
|
|
#9 |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,891
Xubuntu 8.04 Hardy Heron
|
Re: Can't Write to CIFS share after upgrade to 9.10
You'll need to add the uid and gid options like so:
1) Find your uid and gid (normally both are 1000, but double check): Code:
cat /etc/passwd | grep nexist Code:
$ cat /etc/passwd | grep dmizer dmizer:x:1000:1000:dmizer,,,:/home/dmizer:/bin/bash Code:
//10.11.93.2/nexist /home/nexist/obelisk cifs username=nexist,password=******,iocharset=utf8,gid=1000,uid=1000,nounix,noserverino,file_mode=0777,dir_mode=0777 0 0
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() |
Re: Can't Write to CIFS share after upgrade to 9.10
That has fixed it. Thank you very much.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|