photools.com Community

IMatch Anywhere Discussion Boards => IMA General Discussion and Questions => Topic started by: Aubrey on April 15, 2021, 05:56:29 PM

Title: ACL - What am I doing wrong?
Post by: Aubrey on April 15, 2021, 05:56:29 PM
I want to exclude a folder:
I:\Processed Images\Others\ipad\Ipad_2013-02-05

I've set up ACL editor:
Folder Include .*
Folder Exclude I:\\Processed Images\\Others\\ipad\\Ipad_2013-02-05\\.*
(see attached jpg)

I find that a folder ...ipad\Ipad_2015-01-05 is also excluded.

I've tried :
Folder Exclude I:\\Processed Images\\Others\\ipad\\Ipad_2013-02-05
with same results.

When I just use:
Folder Exclude I:\\Processed Images\\Others\\ipad\\Ipad_2013-02-05 (without Folder Include .*) I find that some other unrelated folders have subfolders hidden  :o

In a nutshell:
I want to hide: I:\Processed Images\Others\ipad\Ipad_2013-02-05 and allow: I:\Processed Images\Others\ipad\Ipad_2015-01-05

Thanks,
Aubrey.



Title: Re: ACL - What am I doing wrong?
Post by: Mario on April 15, 2021, 08:47:07 PM
Only \ at the end? Try \\.*
Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on April 16, 2021, 05:35:27 AM
I posted wrong image. As I was preparing message I realized I had only one \ at the end and corrected this and tested.  Still the same result.
In any case I would have thought:
Folder Exclude I:\\Processed Images\\Others\\ipad\\Ipad_2013-02-05
should be sufficient, and I also tried this but again the 2nd sub folder below "iPad" was removed.

Do I need to have include before the exclusion of one folder, I would have thought this was not necessary ?
Folder Include .*
Folder Exclude I:\\Processed Images\\Others\\ipad\\Ipad_2013-02-05\\.*

Could it be anything due to the name of the folder where I am using _ and -, I don't think these will be interpreted as special characters in regex?

Any files I can attach to aid troubleshooting?

Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on April 16, 2021, 08:29:27 AM
I have spent the morning doing more work to figure this out.
I have created a user "test"
Test has access to ACL "usertest"  (See setup.jpg) and attached imwsconfig.xml
usertest ACL does NOT allow access to folder I:\Processed Images\Others\phone

The result is shown in phone.jpg. We can still see access to phone folder

Any thoughts as to what I'm doing wrong?
Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on April 16, 2021, 10:39:34 AM
Update:

Latest test:
Created structure:
d:\Processed Images\Other\phone\20060128
...Other\phone\20060129
...Other\ipad

(Trying to show tree above!)

Populated with a few files.

Downloaded loaded IMWA  on local PC and installed (trial license).

Tested again:
folder exclude d:\\Processed Images\\Other\\phone\\20060129[/color]

All works as expected.  ;D

I will now test IMWA locally with full database and report back.

Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on April 16, 2021, 12:38:19 PM
Noe tried it on my main database.
Used only
h:\\Processed Images\\Other\\phone\\20060129

The folder now got excluded... but now missing many folders ??
db_problem.jpg illustrates this

On left is the tree of my database. There are folders for each year.

On right is what comes from IMWA.
Many many folders are missing the folders per year are missing. However you will note that folder ...others/phone/20060129 has been correctly removed.

I have already run diagnostics on the database - everything passed
I also ran compact and optimize no issues.

Really at a loss as to where to look for this problem, it does appear to be db related as test db ran fine.

Aubrey.
Title: Re: ACL - What am I doing wrong?
Post by: David_H on April 16, 2021, 01:37:21 PM
Quote from: Aubrey on April 16, 2021, 12:38:19 PM
Noe tried it on my main database.
Used only
h:\\Processed Images\\Other\\phone\\20060129


Really at a loss as to where to look for this problem, it does appear to be db related as test db ran fine.

Aubrey.

What does putting the full path of an image into the test box show (is it correctly excluded - but still missing from the list) ?
Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on April 16, 2021, 01:58:46 PM
(https://www.photools.com/community/index.php?action=dlattach;topic=11259.0;attach=26885;image)
Results of testbox pass.

Quote from: Aubrey on April 16, 2021, 12:38:19 PM
h:\\Processed Images\\Other\\phone\\20060129
BTW there was a typo, path used was:H:\\Processed Images\\Others\\phone\\20060129
[/quote]
Title: Re: ACL - What am I doing wrong?
Post by: Aubrey on May 04, 2021, 10:24:31 PM
For competeness  and to close out this issue for users who come across it in a search...

Issue has been resolved, see:
https://www.photools.com/community/index.php?topic=11264.0

Aubrey