Try adding this line to your /etc/fstab file:
and see if that improves things.Code://pmde1505/receive /mnt/pmde1505/receive cifs username=*****,password=*****,iocharset=utf8,uid=1000,gid=1000,nounix,file_mode=0555,dir_mode=0555
Try adding this line to your /etc/fstab file:
and see if that improves things.Code://pmde1505/receive /mnt/pmde1505/receive cifs username=*****,password=*****,iocharset=utf8,uid=1000,gid=1000,nounix,file_mode=0555,dir_mode=0555
1) Samba server howto | 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!
95% switched to Ubuntu
Hardy 8.04 running on an old Dell Dimension
House full of Windows boxes for rest of family
Hi,
I followed all the instructions on the first 2 pages, and I COULD get vim to edit the necessary files on the mounted share. However, and this was frustrating, I could not get Kate or Komodo Editor to edit and save the files - the error was along the lines of no such file or directory.
I finally found a workaround/solution:
https://bugs.launchpad.net/ubuntu/+s...28/comments/50
I was using a Linux box to access a Smb connection on a linux box. I could have used nfsmount, but I have certain restrictions and using CIFS was the fastest and best solution. Once I turned off DFS on the samba server, all was well.
Not sure if this has already been noted somewhere in this long post, but I hope it helps someone.
Experiment results :
did umount.cifs to unmount the share
did mount to get list of mounts and confirm that share was unmounted
modified fstab as described
did sudo mount -a to reload fstab
did mount and ls -l /mnt/pmde1505 ... to confirm share was remounted
all files and directories had read and execute permissions and were owned by me as before, mount shows the share as
//pmde1505/receive on /mnt/pmde1505/receive type cifs (rw,mand)
tried to cp an exe file and got same result as before - could not open the file for reading Permission denied.
This is kinda curious. I feel like I read somewhere about a bug having these properties but I'm not sure and I can't find a reference - I'll keep looking.
95% switched to Ubuntu
Hardy 8.04 running on an old Dell Dimension
House full of Windows boxes for rest of family
Just for testing, try changing the file_mode and dir_mode to 777.
1) Samba server howto | 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!
I'm yet another person having similar problems.
I just went through the whole set of instructions, and am now stuck with the "mount error(13): Permission denied" problem.
I'm trying to mount a share from a Buffalo Terastation.
It (of course) works just fine in the GUI File Browser, but I really need to be able to access it from some command line programs.
1) Samba server howto | 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!
Already tried adding the "nounix" option.
Didn't help.
Couldn't find any mention of the permission denied problem in the referenced thread either.
1) Samba server howto | 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!
Bookmarks