On Sep 13, 4:50 pm, Konstantin Khomoutov <[email protected]> wrote: > On Tue, 13 Sep 2011 16:16:51 +0200 > > > > > > > > > > er <[email protected]> wrote: > > > [...] > > >> $ git checkout -b gh-pages origin/gh-pages > > >> warning: unable to unlink c_array/doc/html/c_array_HTML.manifest: > > >> Permission denied > > >> warning: unable to unlink c_array/doc/html/index.html: Permission > > >> denied > > >> Branch gh-pages set up to track remote branch gh-pages from origin. > > >> Switched to a new branch 'gh-pages' > > > >> What should I do about the warnings, here? > > > What's the output of > > > > $ ls -l c_array/doc/html/c_array_HTML.manifest > > > $ ls -l c_array/doc/html/index.html > > > $ ls -ld _array/doc/html/ > > > $ id > > > > ? > > Thanks for following up. > > > -rw-r--r-- 1 root staff 11 Aug 28 21:43 > > c_array/doc/html/c_array_HTML.manifest -rw-r--r-- 1 root staff > > 12998 Sep 2 21:58 c_array/doc/html/index.html > > drwxr-xr-x 4 root staff 136 Aug 28 > > 17:32 c_array/doc/html/ > > > uid=502(er) gid=20(staff) > > groups=20(staff),101(com.apple.sharepoint.group.1),204(_developer),100 > > (_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79 > > (_appserverusr),61(localaccounts),12(everyone),401 > > (com.apple.access_screensharing) > > When trying to delete files in that "c_array/doc/html/" folder, the > system considers your membership in the "staff" group, but that group > does not have write permission on that folder (which, on directories, > controls the right to create or delete files--that is, change the > directory contents).
Thanks. The warning talks about 'unlink'. I guess from your message it means 'delete'. I hadn't realized fetch would attempt to 'delete' this sub- folder. The meaning of fetch seems quite removed from everyday language (fetch a ball). Maybe it would be more safe to restore everything as it was before $git fetch origin. Can I do this? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
