This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Bozdog
Recipients Bozdog, ned.deily
Date 2013-04-29.07:22:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <957B7EEE-B0FF-4434-BD67-7465CDED9313@denmarkfarmbarn.co.uk>
In-reply-to <1367189021.31.0.851960140066.issue17864@psf.upfronthosting.co.za>
Content
I've tried this and it looks like write access is already enabled, but I entered the commands you listed all the same - here's the output:

Bens-iMac:~ ben$ cd
Bens-iMac:~ ben$ ls -lde
drwxr-xr-x  28 temp  staff  952 28 Apr 18:46 .
Bens-iMac:~ ben$ mkdir /.idlerc
mkdir: /.idlerc: Permission denied
Bens-iMac:~ ben$ chmod u+w
usage:	chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...
	chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
Bens-iMac:~ ben$ mkdir /.idlerc
mkdir: /.idlerc: Permission denied

On 28 Apr 2013, at 23:43, Ned Deily <report@bugs.python.org> wrote:

> 
> Ned Deily added the comment:
> 
> That's really odd.  It looks you have a permissions problem with your home directory. On startup, IDLE attempts to create the directory .idlerc in your home directory, /Users/ben, if it doesn't exist already.  If for some reason the directory creation fails, IDLE aborts.  Interestingly, if the directory exists but IDLE lacks write permission to create files in it, it does not abort but posts a warning message in a window.  Perhaps it could be a little more consistent about that.  But still, this appears to be avery unusual situation.  I can't think of any reason why IDLE would be unable to create a directory unless you have some security system installed or some unusual access control list setting.  The most likely reason is just a plain old permission problem on your home directory.  Try this in a terminal session:
> 
> cd ~
> ls -lde ~
> 
> You should see something similar to this:
> drwxr-xr-x+ 38 nad  staff  2992 Apr 28 15:26 /Users/nad/
> 0: group:everyone deny delete
> 
> if the permissions string is missing the "w" ("dr-xr-x"), that means you do not have write permission to your home directory and can't create new directories there.  In that case, 
> 
> mkdir ~/.idlerc
> 
> should fail.  (This is essentially what IDLE is trying to do.)
> 
> If you are missing write permission on your home directory, you *should* be able to fix it by doing:
> 
> chmod u+w ~
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue17864>
> _______________________________________
History
Date User Action Args
2013-04-29 07:22:14Bozdogsetrecipients: + Bozdog, ned.deily
2013-04-29 07:22:14Bozdoglinkissue17864 messages
2013-04-29 07:22:13Bozdogcreate