Ticket #4 (new enhancement)

Opened 8 years ago

Last modified 8 years ago

Database should check permissions

Reported by: tobsan Owned by:
Priority: minor Milestone: Complete Minimal Server
Keywords: Cc:

Description (last modified by tobsan) (diff)

When the database is looking through folders and files, it should for each folder and file check the permissions. Currently, if there is a problem with permissions, addDir will fail with an exception.

[tobsi@wobsi ~]$ mkdir secret
[tobsi@wobsi ~]$ chmod ugo-rwx secret/

*Database> addDir "/home/tobsi/secret/"
*** Exception: /home/tobsi/secret/: getDirectoryContents: permission denied (Permission denied)

Change History

Changed 8 years ago by tobsan

  • description modified (diff)
Note: See TracTickets for help on using tickets.