Up |
|
|
  |
Author: iainb.formsiainb.forms Date: Jul 31, 2008 11:44
Hi,
I'm running Emacs on OSX 10.4 in Terminal. Every time I create a new
file using C-x C-f the owner is "system" and not my user, so the files
become read-only! I'm not running with sudo or su, so I'm not quite
sure why this is happening.
I'd like emacs to automatically save the files under my user account.
Any help with this is much appreciated.
Thanks
Iain
|
| |
|
| | 31 Comments |
|
  |
Author: Peter DyballaPeter Dyballa Date: Jul 31, 2008 14:34
> I'm running Emacs on OSX 10.4 in Terminal. Every time I create a new
> file using C-x C-f the owner is "system" and not my user, so the files
> become read-only!
Could you tell us the value of the environment variable GROUP? And
what is the command groups returning?
--
Greetings
Pete
Every instructor assumes that you have nothing else to do except
study for that instructor's course.
– Fourth Law of Applied Terror
|
| |
|
| | no comments |
|
  |
Author: Thierry VolpiattoThierry Volpiatto Date: Jul 31, 2008 14:41
> Hi,
>
> I'm running Emacs on OSX 10.4 in Terminal. Every time I create a new
> file using C-x C-f the owner is "system" and not my user, so the files
> become read-only! I'm not running with sudo or su, so I'm not quite
> sure why this is happening.
>
> I'd like emacs to automatically save the files under my user account.
> Any help with this is much appreciated.
>
> Thanks
> Iain
>
Hi,
are you sure you have a user account on your system ?
What say the command? :
whoami
|
| Show full article (0.59Kb) |
| no comments |
|
  |
Author: Nikolaj SchumacherNikolaj Schumacher Date: Aug 1, 2008 01:23
> I'm running Emacs on OSX 10.4 in Terminal. Every time I create a new
> file using C-x C-f the owner is "system" and not my user, so the files
> become read-only! I'm not running with sudo or su, so I'm not quite
> sure why this is happening.
I'm on 10.5, and it doesn't have a user "system". Does the account have
the same user ID as "root"?
regards,
Nikolaj Schumacher
|
| |
| no comments |
|
  |
Author: iainb.formsiainb.forms Date: Aug 1, 2008 04:32
whoami: iainb
groups: iainb appserveradm appserverusr admin
echo $GROUP: returned nothing - if there are ways to get env vars set
within emacs, I don't know how to do that.
the user "system" doesn't appear in my Netinfo database, but it is
quite common to find it owning the file if using the Get Info command
from the Finder (which gives more meta info, so I tend to use that
instead of unix commands for ownership). It appears to be an alias
used by Apple
ls -al:
-rw-
--r-- 1 root iainb 8 Aug 1 12:27 Dummyfile.hs
Thanks for taking the time to look into this.
|
| |
| no comments |
|
  |
|
Author: iainb.formsiainb.forms Date: Aug 1, 2008 04:38
|
| |
| no comments |
|
  |
Author: Peter DyballaPeter Dyballa Date: Aug 1, 2008 04:52
Am 01.08.2008 um 13:32 schrieb iainb.forms:
> -rw-r--r-- 1 root iainb 8 Aug 1 12:27 Dummyfile.hs
This file is owned by root – not by you.
You should try:
sudo chown -R iainb:iainb ~iainb
log off and in again.
--
Greetings
Pete
Without vi there is only GNU Emacs
|
| |
| no comments |
|
  |
Author: Joost KremersJoost Kremers Date: Aug 1, 2008 05:01
Peter Dyballa wrote:
> You should try:
>
> sudo chown -R iainb:iainb ~iainb
>
> log off and in again.
are you sure that's such a wise idea? changing ownership of literally
*everything* in someone's home dir?
--
Joost Kremers joostkremers@ yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
|
| |
| no comments |
|
  |
Author: iainb.formsiainb.forms Date: Aug 1, 2008 06:16
On Aug 1, 12:52 pm, Peter Dyballa wrote:
> Am 01.08.2008 um 13:32 schrieb iainb.forms:
>
>> -rw-r--r-- 1 root iainb 8 Aug 1 12:27 Dummyfile.hs
>
> This file is owned by root – not by you.
>
> You should try:
>
> sudo chown -R iainb:iainb ~iainb
>
> log off and in again.
>
> --
> Greetings
>
> Pete
>
> Without vi there is only GNU Emacs
|
| Show full article (0.75Kb) |
| no comments |
|
  |
|
|
  |
Author: Peter DyballaPeter Dyballa Date: Aug 1, 2008 06:33
Am 01.08.2008 um 14:01 schrieb Joost Kremers:
>> sudo chown -R iainb:iainb ~iainb
>>
>> log off and in again.
>
> are you sure that's such a wise idea? changing ownership of literally
> *everything* in someone's home dir?
The Haskell file in his home directory he showed did not belong to
him. He also described that he has problems to save files. So I
assumed that also directories might not be owned by him.
BTW, what's so bad (or dangerous or capitalistic) of owning
everything in my home directory tree?
--
Mit friedvollen Grüßen
Pete
Heißt 'Wegwerfgesellschaft', dass mensch diese Gesellschaft weg
werfen *kann* oder *muss*?
|
| |
| no comments |
|
|
|