Koozali.org: home of the SME Server

smb + recycle bin

Offline TerrePorter

  • 3
  • +0/-0
smb + recycle bin
« on: January 18, 2013, 06:11:44 AM »
Hello,
I'm trying to get a recycle bin in my ibays, but i'm getting an error that i'm having a hard time to trace down.

[2013/01/18 00:01:00.994248,  1] modules/vfs_recycle.c:316(recycle_create_dir)
  recycle: mkdir failed for Recycle Bin with error: Permission denied

I followed the instructions at http://wiki.contribs.org/RecycleBin

I created a new virtual machine, in case my customizations messed up something...

Base cd install: has the above error...

In the process of updating... but thought i'd ask if anyone else has had the problem..

Thanks
Terre

Offline TerrePorter

  • 3
  • +0/-0
Re: smb + recycle bin
« Reply #1 on: January 18, 2013, 06:36:36 AM »
I've completed the update - still has the error.

I've only enabled the ibay recycle bin, the home directory worked on my other machine.

Here is some more information about the test machine,

[root@smeserver ~]# smbd --version
Version 3.6.6-0.129.el5

[root@smeserver ~]# db configuration show smb
smb=service
    DeadTime=10080
    KeepVersions=disabled
    OpLocks=enabled
    OsLevel=35
    RecycleBin=disabled
    RoamingProfiles=no
    ServerName=smeserver
    ServerRole=WS
    ShadowCount=10
    ShadowDir=/home/e-smith/files/.shadow
    UnixCharSet=UTF8
    UseClientDriver=yes
    Workgroup=mitel-networks
    status=enabled

[root@smeserver ~]# db accounts show testshare
   testshare=ibay
    CgiBin=enabled
    Gid=5002
    Group=testgroup
    KeepVersions=enabled
    Name=test share
    PasswordSet=no
    PublicAccess=global-pw
    RecycleBin=enabled
    Uid=5002
    UserAccess=wr-group-rd-group

# snip from smb.conf

[testshare]
comment = test share
path = /home/e-smith/files/ibays/testshare
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0660
vfs objects = recycle
  recycle:exclude_dir=tmp,temp,cache
  recycle:repository=Recycle Bin
  recycle:versions=True
  recycle:keeptree=True
  recycle:touch=True
  recycle:directory_mode=0770
  recycle:exclude=*.tmp,*.temp,*.o,*.obj,~$*,.~lock.*

Any ideas would be helpful.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: smb + recycle bin
« Reply #2 on: January 18, 2013, 10:27:39 AM »
Any ideas would be helpful.

bugzilla -> raise a new bug and report here the reference, thank you

Offline TerrePorter

  • 3
  • +0/-0
Re: smb + recycle bin
« Reply #3 on: January 18, 2013, 06:24:12 PM »