Re: permissions issues with Xcode 3.0 on mounted filesystem
Re: permissions issues with Xcode 3.0 on mounted filesystem
- Subject: Re: permissions issues with Xcode 3.0 on mounted filesystem
- From: Jordan Miller <email@hidden>
- Date: Sat, 5 Jan 2008 15:29:54 -0600
What would a "touch touchfile.php" in Terminal, inside this
directory produce? AFAIK, Xcode, when saving, produces a new file
instead of changing the old one.
Interesting to try, thanks...
SSH'ing into the machine of interest as myself, and performing a
"touch testfile.php" produces no change in the file owner, group
owner, or file permissions. Similarly, performing a "touch
testfile.php" also causes no changes in the file owner, group owner,
or file permissions.
Still in the terminal ssh'ed into the machine, creating a new file
with "emacs testfile2.php" and saving produces this file:
-rw-r--r-- 1 jmil www 4 Jan 5 15:24 testfile2.php
while doing this as root produces this file:
-rw-r--r-- 1 root www 4 Jan 5 15:24 testfile2.php
So the default is apparently -rw-r--r-- and the "www" group, which
makes sense because the group owner of the parent directory is "www".
The shell honors permissions correctly!!
So, this MUST be Xcode that is setting the file permissions to
jmil:admin and -rwx------ after saving.
How can I fix this??
Jordan
On Jan 2, 2008, at 2:40 PM, Markus Hitter wrote:
Am 02.01.2008 um 18:40 schrieb Jordan Miller:
Example shown by performing "ls -la" in the directory of interest:
Before editing with Xcode:
-rwxr-x--- 1 jmil www 24497 Jan 2 11:26 testfile.php
After mounting the filesystem as user jmil and editing and saving
the file in Xcode:
-rwx------ 1 jmil admin 24497 Jan 2 11:27 testfile.php
What would a "touch touchfile.php" in Terminal, inside this
directory produce? AFAIK, Xcode, when saving, produces a new file
instead of changing the old one.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden