Results 1 to 3 of 3
Hi
I have home server on CentOS 5.2 with Samba 3.0.28-1.el5_2.1 for sharing files on my network (WinXP and Ubuntu).
I have r/w permission to home share, I can create ...
- 02-28-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
samba share denies permission to random files while copying
Hi
I have home server on CentOS 5.2 with Samba 3.0.28-1.el5_2.1 for sharing files on my network (WinXP and Ubuntu).
I have r/w permission to home share, I can create directory and copy files to the share, the problem is when I copy a whole directory from my Ubuntu box I get the following error (from Nautilus):
The folder "xxxxxx" cannot be copied because you do not have permissions to create it in the destination.
Even tough I have permission and I can create it, just doesn't happen when copying.
The same thing happens when I copy to /public share where "only guest = yes", and all files are owned by nobody. I don't think the problem is with the CentOS because if I do the same thing from a WinXP everything works fine, that is why I put this post in the Ubuntu section.
this is how I have my shares defined:
my /etc/fstab on Ubuntu:Code:security = user passdb backend = tdbsam [homes] comment = Home Directories browseable = yes writable = yes valid users = %S [public] comment = Public Stuff path = /home/public public = yes writable = yes only guest = yes
thx for the helpCode://192.168.0.1/public /media/atompublic smbfs credentials=/etc/samba/credentials3,uid=1000,rw 0 0 //192.168.0.1/ziga /media/atomziga smbfs credentials=/etc/samba/credentials3,uid=ziga,gid=ziga,file_mode=0777,dir_mode=0777,rw 0 0
- 02-28-2009 #2
Just for the heck of it do
sudo chmod 777 -R
on the folder you want all permissions and on the destination folder. I've had that solve problems in the pastBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 02-28-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
thx for reply,
chmod does not help
the only way I manage to copy directory structure is from cmd line with sudo
sudo cp -R /home/user/dir /media/share
I don't understan how can it be I can use mkdir, even copy files but when copying direcory structure I get permission denied.
this is quite anoying, any ideas?


Reply With Quote