[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i can figure out. is it config issue or bug. please help



----- Original Message -----
> From: "Muhammad Yousuf Khan" <sirtcp@gmail.com>
> 
> i am using samba 3.6.5 with winbind.for active directory
> authentication
> 
> there is a samba share folder name "Filesharing" and plethora of
> folders are inside it.
> i have been using 2.7 stable for more then 2 years with no problem
> however after my harddisk failure i had to restore data to new
> server. and install samba from zero , fortunately or unfortunately
> samba has been updated in debian repository to 3.5.6
> 
> root@nas:/nas/backup# smbd -V
> Version 3.5.6
> 
> all user including owner user and group can see shared file but only
> everyone/all users can not copy the file to there desktop or any
> other location in windows 7, they receive permission denied
> messages however these are the same settings that i used to work with
> Samba 2.7 stable.
> 
> 
> even groups who to not have "r-x" permission can not copy data.
> 
> same goes for eveyone with "r-x" no user can copy the data.
> 
> until i give them "rwx"
> 
> this wasn't happening previously.
> 
> is there anyone who can help me in this regard.
> 

Just to be clear:  you restored the data from a backup, but you did not restore the samba config from a backup, right?  If so, then I'd look hard at your samba config and make sure it's correct.

You should also check the permissions on the parent directory -- the directory that contains the samba share.  Make sure that is the same as it was in your original setup.  

You seem to be saying that a user cannot copy and paste a file from a samba share to his desktop unless the file itself has unix write permissions on it.  That should not be.  Are you sure the users are not trying to *cut* and paste?  That would require write permissions, since it involves deleting the file from its original location.

-Rob


Reply to: