Skip to main content
Known Participant
May 19, 2009
Question

Help with cfdirectory permissions

  • May 19, 2009
  • 1 reply
  • 1471 views

Hi again.

my issue: when I create directory using cfdirectory tag it sets default 'read only' permission to it. then if i'm trying to access file (photo) and resize it using cfimage tag, it throws exeption and fails. I'm using windows vista (i know i know).

question: is there any way to set folder as NOT read only when creating or even afterwards, but using coldfusion obviously.

cheers,

Simon

    This topic has been closed for replies.

    1 reply

    Known Participant
    May 20, 2009

    mode

    Optional

    Used with action = "create". Permissions. Applies only to UNIX and Linux. Octal values of chmod command. Assigned to owner, group, and other, respectively, for example:

    • 644: assigns read/write permission to owner; read permission to group and other.
    • 777: assigns read/write/execute permission to all.

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_03.html

    Simon.DauAuthor
    Known Participant
    May 20, 2009

    Thanks Lee, but that's why I stated using windows vista. These permissions works on Unix and Linux only.

    Participating Frequently
    May 20, 2009

    When creating a folder on Windows the permissions are inherited from

    the parent folder so my guess is that the parent folder doesn't have

    write permission.

    Mack