Recycle Bin Permissions

Status
Not open for further replies.

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
Hi there everyone,

I have recycle bin enabled, but I'm running out of space on my 1TB HDD due to it. My problem is that I haven't had to access the recycle bin for a while, and now I need to, I can't. When clicking through .recycle > (name of share), Windows appears with the message "B:\.recycle\(name of share) is not accessible. Access is denied"

The system is FreeNAS-8.0.4-RELEASE-p3-x64. Running on a AMD Sempron 145. Accessing via Windows 7.

I have tried multiple solutions all to no avail, the only one I haven't is going into the command line as I'm not comfortable with that.

If anyone can help it would be MUCH appreciated.
Thanks
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
I take it B: is a FreeNAS CIFS share mounted as a network drive? What's the permissions setup on the volume?
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
Yes it is a CIFS share mounted.

I attached a screenshot of the permissions.

Thanks
 

Attachments

  • Permissions.jpg
    Permissions.jpg
    38 KB · Views: 620

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
What are the CIFS configuration and the specific share configuration like?
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
CIFS configuration uploaded.

I don't know what the specific share configuration is. :/

Thanks
 

Attachments

  • CIFS.jpg
    CIFS.jpg
    60.3 KB · Views: 583

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
That's what you sent - what about the general CIFS service configuration?
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
Ah right okay.

There you go.

Thanks
 

Attachments

  • Service1.jpg
    Service1.jpg
    95.7 KB · Views: 470
  • Service2.jpg
    Service2.jpg
    65.5 KB · Views: 468

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
It looks like you're authenticating against a freeNAS user to access the share, is that correct? What user are you using for that?
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
I didn't think I was, I mean I could be, I'm not an expert. I don't have any users added to the user section.
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
Did you ever have to enter a password to get the CIFS share to mount?
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
No, I don't think so.

It's the permissions and users that I get confused with, sorry to be dumb here.
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
Well, it's odd - the volume is owned by root, and the authentication model shows local user only, no guest. The volume is set to Windows ACLs though, so I'm not sure how that affects authentication.

I'm out of ideas, sorry. Hopefully someone else will be able to help.
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
Can you tell me what the 'usual' settings are such as users, group ID, permissions, etc, maybe that will go some way to fixing it.

Thanks for your help though.
 

ben

FreeNAS GUI Developer
Joined
May 24, 2011
Messages
373
I don't have enough experience with CIFS/Samba to be confident in any such recommendations, sorry.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,402
I'm no expert on CIFs/Samba either, but when have I let that stop me? ;)

Shikkari try checking Set permission recursively on /mnt/Storage and see if that does anything.

Also, from your Win 7 box what do the security permissions on .recycle\(name of share) look like: Right-click -- Properties -- Security -- Advanced.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,402
The docs for CIFS say not to check set permissions recursively if Windows ACLs are selected.
And so it does. Though I didn't stay to check Inherit Permissions under CIFs, but rather to check Set permission recursively for the volume/dataset. Though that may be as undesirable?

Shikkari skip the recursive/inherit permissions and let us know what the current permissions look like from your Win 7 box for a normal working folder and the recycle bin. I don't have access to my NAS right now, but I will probably take a look at this later.
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
Right, here we go:

The .recyclePermissions.jpg is of the overall recycle folder.

The LockedFolderPermissions.jpg is of the folder I cannot access inside the .recycle folder.

And finally, the NormalFolderPermissions.jpg is the permissions of "My Games" (randomly picked), which I located on my C Drive on my Wind 7 machine.

Thanks everyone.
 

Attachments

  • .recyclePermissions.jpg
    .recyclePermissions.jpg
    57.8 KB · Views: 449
  • LockedFoulderPermissions.jpg
    LockedFoulderPermissions.jpg
    41.4 KB · Views: 442
  • NormalFolderPermissions.jpg
    NormalFolderPermissions.jpg
    67.2 KB · Views: 455

lrusak

Explorer
Joined
Dec 20, 2011
Messages
56
as a quick solution you could always SSH onto your freenas box as root and go and manually change the permissions of the recycle bin by running a chmod -R 777 on the folder if you wanted to fix it quickly. You still may want to figure it out though
 

Shikkari

Dabbler
Joined
Feb 25, 2012
Messages
12
I would have absolutely no idea how to even SSH onto it, let alone running anything. :P Still a noob here.
 
Status
Not open for further replies.
Top