Koozali.org: home of the SME Server

Permissions on Recycle Bin

Offline vaf

  • **
  • 25
  • +0/-0
  • Loving SME Server
Permissions on Recycle Bin
« on: May 17, 2010, 10:41:25 AM »
Hi all

I have setup Shared Folders with Recycle Bin. Small problem is that I would like to allow users access to read and execute any file in the network created Recycle Bin, but they can't get past the root directory (they can see files and directory's in the Recycle Bin but no deeper)

It appears that files get moved into the recycle bin and the permissions get changed to root only. Is there a way to have the permissions for files moved to the recycle bin to have read and execute permissions for all users?

The reason I would like this is when I rsync from another system to backup the server I get the following error on each share for every folder in each Recycle Bin:

sent 1936 bytes  received 168 bytes  1402.67 bytes/sec
total size is 22478668  speedup is 10683.78
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/main.c(1040) [sender=3.0.4]
Partial transfer due to errorRsync.exe returned an error. Will try again. This is retry number 1 of 5
sending incremental file list
rsync: readdir("/Servermalvern/directors-x/Recycle Bin"): Permission denied (13)

I could run a cron rsync job, as that will run as root, bypassing any permission issues, however I also have a ReadyNAS device that runs a manual backup for offsite storage. This also fails and I would like to have the permissions automatically allow read and execute for any files in the recycle bin.

Thanks

Offline vaf

  • **
  • 25
  • +0/-0
  • Loving SME Server
Re: Permissions on Recycle Bin
« Reply #1 on: May 17, 2010, 11:04:39 AM »
I have found this bug report

http://bugs.contribs.org/show_bug.cgi?id=1734

Does this mean I can't fix it in SME Server 7.4?

I am wary upgrading to version 8.0beta just for this function, as I'd rather the stability of 7.4

When 8.0 becomes stable, is it expected that you can upgrade to 8.0 to 7.5?  Or will a full install be required including copying data back onto the server.

I'm guessing 8.0 is a fair way away, seing as 7.5 is in RC2.

Thanks
« Last Edit: May 17, 2010, 11:07:39 AM by vaf »

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Permissions on Recycle Bin
« Reply #2 on: May 17, 2010, 12:44:11 PM »
I have found this bug report

http://bugs.contribs.org/show_bug.cgi?id=1734

Does this mean I can't fix it in SME Server 7.4?

Correct, all new fixes are only applied to SME Server 8.x. Unless critical (i.e security bug) we will backport those changes made in SME Server 8.x to SME Server 7.x

Quote
When 8.0 becomes stable, is it expected that you can upgrade to 8.0 to 7.5?

Yes.

Quote
I'm guessing 8.0 is a fair way away, seing as 7.5 is in RC2.

Who knows  :lol: but the more people working on SME Server 8 the better and reporting any potential issues to the bug tracker will see the release of SME Server 8 happen.

Thanks
« Last Edit: May 17, 2010, 12:46:41 PM by byte »
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!