ACL - What am I doing wrong?

Started by Aubrey, April 15, 2021, 05:56:29 PM

Previous topic - Next topic

Aubrey

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.




Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Aubrey

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?


Aubrey

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?

Aubrey

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.


Aubrey

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.

David_H

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) ?

Aubrey

#7

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]

Aubrey

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