Ben Read added the comment:
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 <[email protected]> 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 <[email protected]>
> <http://bugs.python.org/issue17864>
> _______________________________________
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17864>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com