Hi. I am wondering if anyone here has encountered a similar issue. In my project, I create folders for every new submission received and currently, I get a "[Errno 13] Permission denied: 'user'" when my script executes the "os.makedirs" command. I am assuming that the user refers to my account "zwei" but is there anyway to verify this? I came across some earlier posts of a similar nature and changed the facl for the project to see if they would work. Currently, running "getfacl" returns me the following result:
I'm not exactly familiar with File Access Control List but am I missing something here? I am also including the tracestack below for reference.
Thanks in advance. I've been spending way too much time stuck at this problem... asked 11 May '11, 02:21 zwei |
If you are creating a directory owned by your user somewhere within your own user's home directory, you shouldn't need to use ACLs at all.
What is the path, specifically, of the directory that you are attempting to create?
Also, are you attempting to create a new subdirectory of the "webapps" directory?
hi ryans, sincerest thanks for replying. i figured out the reason for my problem after reading your response; i am relying on django's "default_storage.save()" command to save submitted files and was passing in the relative paths unique to each submission; i was trying to create the submission folders using those relative paths and not their absolute paths.
apologies for any inconvenience caused!