{"id":6497,"date":"2014-04-19T03:06:10","date_gmt":"2014-04-19T03:06:10","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/19\/linuxpermissionsgitfile-permissionsrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-04-19T03:06:10","modified_gmt":"2014-04-19T03:06:10","slug":"linuxpermissionsgitfile-permissionsrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/19\/linuxpermissionsgitfile-permissionsrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"linux,permissions,git,file-permissionsRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/392ee4063cc5e6cc4d0cdb5f658bcfa8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKyle Brandt<br \/>\nlinux<br \/>\nWhen trying to reboot a Linux server I got the typical &#8216;System going down for reboot now&#8217;, but the server has not rebooted. I have tried:reboot shutdown -r nowThe runlevel command returns 5. Any other options for getting this server to reboot? This is a remote machine, so I don&#8217;t want to just shut it down if I can avoid that. I am trying to reboot because of a journal abort on \/, so \/ is read-only. Most commands now return &#8216;bus error&#8217;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a96d7d4f942af97c61081d92fa074ca3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJoelFan<br \/>\nlinux mysql debian-wheezy upgrade-issue<br \/>\nI upgraded debian to wheezy and got errors with mysql-server so I removed it. Now I can&#8217;t reinstall it. I get:$ sudo apt-get install mysql-server &#8230; Unpacking mysql-server (from &#8230;\/mysql-server_5.5.30+dfsg-1.1_all.deb) &#8230; Processing triggers for man-db &#8230; gdbm fatal: malloc error Setting up mysql-server-5.5 (5.5.30+dfsg-1.1) &#8230; [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action &#8220;start&#8221; failed. &#8230; dpkg: error processing<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f8b35f811276a3a6014b46f2c35f2e2d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsoulSurfer2010<br \/>\nlinux wget<br \/>\nI was using wget the in the last week to recursively download a whole website of html pages. I used it this way:wget &#8211;recursive &#8211;no-clobber &#8211;page-requisites &#8211;html-extension &#8211;convert-links &#8211;domains XXXX.com &#8211;no-parent http:\/\/www.XXXX.comthe issue is, since the downloading took couple of days, sometimes there were connection timeouts , network disconnections etc, and while it happened, seems like wget skipped the htmls it couldnt fetch, which is not good in this case.I wonder if there is a<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aecb6e7db6c22270c8e2686c16e184f8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nStormvirux<br \/>\nlinux security debian logging audit<br \/>\nIs there a log file that logs information when the values set in \/etc\/security\/limits.conf are exceeded? If the values are too tight in the above file the clients using the website hosted on the server sees errors such as [FATAL] failed to allocate memory . But I wont be intimidated about it. So is there a log? If not is there a way to make it log when the values are exceeded?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cf7fb7d86aa72b2bff0f640d45aac0ea?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTiffany Walker<br \/>\nlinux vpn logging openvpn pptp<br \/>\nI currently have a default setup of OpenVPN and PPTP. I was wondering how I can enable the most verbose logging of the services so in case of abuse we can track down who&#8217;s IP did what?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a345c308a09cc6bb9d35ed1874217c56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlamp_scaler<br \/>\nlinux permissions git file-permissions<br \/>\nI&#8217;ve got a bare central repo that has this option turned on:git config core.sharedRepository trueFor some reason, the other users on this CentOS machine that pulls\/pushes from the central repo always encounter a permission error when pushing onto a branch that someone already pushed.I looked into the objects dir and realized that whoever pushed first gets their username set as the owner AND the group.I&#8217;ve set it up so that the users all belong under a &#8220;developers&#8221; group and then chgrp -R the bar<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/38970d30683120b77b36f139f05009aa?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ntj111<br \/>\nlinux ubuntu bind<br \/>\nI&#8217;m trying to setup a DNS server on an Ubuntu Server machine (10.04). I configured an entry in named.conf.local to test it, but when trying to restart bind9 I get the following error:* Starting domain name service&#8230; bind9 [fail]So I checked the output of syslog and this is what I get.May 20 18:11:13 empression-server1 named[4700]: starting BIND 9.7.0-P1 -u bind May 20 18:11:13 empression-server1 named[4700]: built with &#8216;&#8211;prefix=\/usr&#8217; &#8216;&#8211;mandir=\/usr\/share\/man&#8217; &#8216;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3308dae9212a52af8a7addb6771482de?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nscarba05<br \/>\nlinux centos monitoring munin system-monitoring<br \/>\nWe&#8217;ve installed munin monitoring on one of our servers. Generally it seems to be working well but occasionally, 4 times in 2 months to be exact, munin-cron has generated the following error:[FATAL] There is nothing to do here, since there are no nodes with any plugins. Please refer to http:\/\/munin-monitoring.org\/wiki\/FAQ_no_graphs at \/usr\/share\/munin\/munin-html line 38On searching for this error I can only find issues where munin is not working at all, rather than the intermittent problem that<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/coxC2.jpg?s=32&amp;g=1\" \/><br \/>\nGeekRide<br \/>\nlinux centos hyperic<br \/>\nI am trying to install the latest version of Hyperic (4.6.6) on centos machine and getting this error. &gt; \/home\/hq\/agent-4.6.6\/bin\/hq-agent.sh start Installing the server&#8230; Unpacking server to: \/home\/hq&#8230; Creating server &gt; configuration files&#8230; Using &#8220;small&#8221; installing profile&#8230; Copying &gt; binaries and libraries to server installation&#8230; Copying server &gt; configuration file&#8230; Copying server db-upgrade files&#8230; Copying &gt; server libs&#8230; Setting up server database&#8230; Loading<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/916f60f3569667d756fa30ed5a2ffdd5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nN.N.<br \/>\nlinux ssh rsync rdiff-backup<br \/>\nWhat is this error? This rdiff-backup command is run in a shell script. How to resolve this issue?ssh -l root 161.3.46.12 rdiff-backup root@161.3.46.12::\/root\/files\/1\/ \/root\/cloodon_syncspawn ssh -l root 161.3.46.12 rdiff-backup root@161.3.46.12::\/root\/files\/1\/ \/root\/cloodon_syncroot@161.3.46.12&#8217;s password: Host key verification failed.Fatal Error: Truncated header string (problem probably originated remotely)Couldn&#8217;t start up the remote connection by executingssh -C root@161.3.46.12 rdiff-backu<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a345c308a09cc6bb9d35ed1874217c56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlamp_scaler<br \/>\nlinux permissions git file-permissions<br \/>\nI&#8217;ve got a bare central repo that has this option turned on:git config core.sharedRepository trueFor some reason, the other users on this CentOS machine that pulls\/pushes from the central repo always encounter a permission error when pushing onto a branch that someone already pushed.I looked into the objects dir and realized that whoever pushed first gets their username set as the owner AND the group.I&#8217;ve set it up so that the users all belong under a &#8220;developers&#8221; group and then chgrp -R the bar<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d37856077d68efd740cb44a7f61cf2d6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMichelle<br \/>\ncentos postfix permissions pipe<br \/>\nI am new to postfix and am trying to pipe a message to a particular email address to a bash script. I am running CentOS 6 in case that matters.My script has 777 permission (for testing), and when I email to the test account I see that postfix tries to run the script. This is the relevant line from the maillog:Feb 16 15:08:40 lserver2 postfix\/local[19675]: F4045103000: to=, orig_to=, relay=local, delay=1737, delays=1737\/0.01\/0\/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output:<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a71fd9cc83d69dff9d329ce15d2d3657?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nandreas-h<br \/>\npostgresql permissions postgresql-9.2<br \/>\nI&#8217;m wondering why a newly created user is allowed to create a table after connecting to a database. I have one database, project2_core:postgres=# \\lList of databasesName | Owner | Encoding | Collate | Ctype | Access privileges &#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-postgres | postgres | SQL_ASCII | C | C | project2_core | atm_project2 | UTF8 | de_DE.UTF-8 | de_DE.U<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a3ae79918214bd0cdc9a810cdb55eeba?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlaa<br \/>\nnetworking permissions configuration directory minidlna<br \/>\nI&#8217;ve done my searching and can&#8217;t find an answer to THIS specific issue. I have my minidlna set up and running &#8211; but it&#8217;s not really done properly. First off, when I open the server on my bluray player, all of my movies are listed twice &#8211; when they are certainly not saved on my external twice. Second, when I open the server &#8211; rather than reading &#8220;Movies&#8221; &#8220;TV&#8221; &#8220;Music&#8221;, etc &#8211; It just mashes all of my movies, tv, and some other folders all together with no real organization. I never had this probl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c41934d43d0ca525d84720170c162d18?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMarcus<br \/>\nserver permissions email postfix mail<br \/>\nI have an issue that&#8217;s driving me crazy. Running Ubuntu 12.04 on DigitalOcean, I followed this tutorial to set up Postfix, Dovecot, ViMbAdmin and RoundCube:https:\/\/rtcamp.com\/tutorials\/mail\/server\/postfix-dovecot-ubuntu\/Everything has been working fine for almost a week so far until suddenly today my incoming mail started getting stuck in the queue. I can see the emails using postqueue -p but they&#8217;ve just been sitting there for over 5 hours.I am able to send email to other hosts just fine, but I<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/82aaf83c769549429c3c5650dee5e738?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRoman Dryndik<br \/>\npermissions environment-variables git adduser<br \/>\nI want to create a new user and give him possibility to use git. So, I&#8217;ve installed git:sudo apt-get install gitAfter that I&#8217;ve created a user:sudo useradd -d \/home\/developer -s \/bin\/bash -g sudo -m developerAnd now I have a problem. When I switch to a new user and try to do something like this:git clone &lt;&lt;here is a path&gt;&gt;I get this error message:fatal: unable to access &#8216;\/home\/roman\/.config\/git\/config&#8217;: Permission deniedI can&#8217;t get why environment variables points to another user fol<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8514ac1e3bd0c6eb2849f8a8dc4a82be?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nthesunneversets<br \/>\nphp cakephp permissions<br \/>\nI inherited a file called promo.php. It begins with the lines:define(&#8216;ROOT&#8217;, dirname(dirname(dirname(__FILE__)))); require_once ROOT. &#8216;\/app\/config\/database.php&#8217;; require_once ROOT. &#8216;\/app\/config\/constants.php&#8217;;And works well enough. For testing purposes though I created a file called promo-2.php in the same folder, beginning with the same lines. In this case, the file dies with a fatal error at at the first require. As far as I can make out, the required file is not being found. But how can<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/SOgj6.png?s=32&amp;g=1\" \/><br \/>\nGlutanimate<br \/>\n12.04 permissions apache2 php<br \/>\nI am using LAMP server on my Ubuntu 12.04 system. Before this time I have installed prestashop without any issues. But after a long time when I tried to install prestashop today, it really showed me a strange error. The error is like this:Warning: require(\/var\/www\/Prestashop\/config\/config.inc.php): failed to open stream: Permission denied in \/var\/www\/Prestashop\/index.php on line 27 Fatal error: require(): Failed opening required &#8216;\/var\/www\/Prestashop\/config\/config.inc.php&#8217; (include_path=&#8217;.:\/usr\/s<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1dd656e20e28283928ae316120638def?s=128&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser808427<br \/>\npermissions samba netbeans<br \/>\nI got a perfectly working Samba share on my linux computer configured. I use it in Windows as Y: network drive. I can create folders, files what so ever. But when I use Netbeans to create a phpdocumentor entry I get write permission errors. And the weirdest thing is that when that error appears phpdocumentor has already created a few folders and files on the network drive.I get the following errors from phpdocumentor:Fatal error: Smarty error: unable to write to $compile_dir &#8216;Y:\\classes\\database<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/12c0c11b924036b0232e811db5ede738?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\n7UR7L3<br \/>\n12.10 kubuntu permissions sudo<br \/>\nWhenever I try to do anything at all that requires my password it returns this:u7ur7l3@ubuntu:~$ sudo sudo: \/usr\/lib\/sudo\/sudoers.so must be owned by uid 0 sudo: fatal error, unable to load plugins u7ur7l3@ubuntu:~$So I can&#8217;t install anything from the Software Center \/ package manager or run any commands in terminal that require my password. I can log in, but that&#8217;s pretty much it.I accidentally changed the permissions of some files, then changed some more trying to fix it :\/. Now I&#8217;m completely<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7c08fef7eb80784161013a4003cca497?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChealion<br \/>\ndebian git snow-leopard gitosis<br \/>\nI have a server running gitosis (installed from the package manager) on Debian Lenny. I am able to perform all operations from my linux mint laptop, but from my Mac running an up-to-date Snow Leopard gives me the following error:mica@waste Desktop$ git clone gitosis@192.168.0.156:Poems.git Initialized empty Git repository in \/Users\/micas\/Desktop\/Poems\/.git\/ ERROR:gitosis.serve.main:Repository read access denied fatal: The remote end hung up unexpectedly mica@waste Desktop$ ssh -v gitosis@192.168<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1ac7a0d0a7e2b544abed5b9f963009d7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ni0n<br \/>\nhttps git leopard certificate-authority ppc<br \/>\nI have a git repository with submodules on github, when I try and set up the submodules locally by doing:git submodule init git submodule updateI get this error:error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https:\/\/github.com\/wincent\/Command-T.git\/info\/refsfatal: HTTP request failed Clone of &#8216;https:\/\/github.com\/wincent\/Command-T.git&#8217; into submodule path &#8216;dotfiles\/vim\/bundle<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/029638659cc038987bddfc25cb838592?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncodeself<br \/>\nubuntu ssh amazon-web-services git<br \/>\nI am trying to use this tutorial to set up a git remote repo on my server: http:\/\/toroid.org\/ams\/git-website-howtoBut when I try to push to the server, I get this error:Permission denied (publickey). fatal: The remote end hung up unexpectedlySo it seems like git can&#8217;t ssh the server because of some auth key issue. I can SSH into the server fine from Terminal by using ssh aws1 due to the set up of my ssh config file.~\/.ssh\/config file:Host aws1HostName 54.235.193.228User ubuntuIdentityFile ~\/.ssh<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a345c308a09cc6bb9d35ed1874217c56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlamp_scaler<br \/>\nlinux permissions git file-permissions<br \/>\nI&#8217;ve got a bare central repo that has this option turned on:git config core.sharedRepository trueFor some reason, the other users on this CentOS machine that pulls\/pushes from the central repo always encounter a permission error when pushing onto a branch that someone already pushed.I looked into the objects dir and realized that whoever pushed first gets their username set as the owner AND the group.I&#8217;ve set it up so that the users all belong under a &#8220;developers&#8221; group and then chgrp -R the bar<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bed0912b2f8f31af31b8871a0ae10a6a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSvW<br \/>\ngit version-control git-repository<br \/>\nI&#8217;m trying to access a remote git repository using SSH but I&#8217;m getting a fatal error &#8211; is there a problem with my syntax?I&#8217;ve created a git repo in the mysite folder on my server &#8211; so the repo is at \/home\/mysite\/.git git clone ssh:\/\/root@serverIP\/mysite\/.git fatal: could not create work tree dir &#8216;mysite&#8217;.: Permission deniedCan anyone see what is wrong with my syntax or is there another issue here?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9b59191709e927341198621961dc083d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSaariko<br \/>\nwindows backup git<br \/>\nI have installed Git version 1.7.6.msysgit.0 on our Windows 2003 Server (SP2). This is our main repository for 14 developers.I am trying to create a backup from this repository. The way I am trying is: I made a clone of this repo on our backup server:cd to\/my\/backup\/git\/folder.git git clone z:\/GIT\/Lib.git .I am now trying to pull changes from the main repository, but I get the following errorgit pull Fatal: &#8230; git-clone cannot be used without a working tree The config file under Z:\/GIT\/Lib.git<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9a53b15e18647a2fdb6d839c8f0c3c34?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njwir3<br \/>\ngit gitosis<br \/>\nI&#8217;m using gitosis on a server that has a low amount of memory, specifically around 512 MB. When I try to push a large folder (happens to be a backup from an android phone), I get:me@corellia:~\/Configs\/$ git push origin masterCounting objects: 18, done. Delta compression using up to 8 threads. Compressing objects: 100% (14\/14), done. fatal: Out of memory, malloc failed MiB | 685 KiB\/s error: pack-objects died of signal 13 error: failed to push some refs to &#8216;git@dagobah:Configs&#8217;I&#8217;ve been search<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/46a6db74ccc3bf4e009f875283401c14?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nThomasReggi<br \/>\ngit gitolite hook push<br \/>\nJust got gitolite installed on my webserver and am trying to get a post-receive hook that can point the git dir in apache&#8217;s direction.This is what my post-receive hook looks like. Got this script from the Using Git to manage a web site.#!\/bin\/sh echo &#8220;post-receive example.com triggered&#8221; GIT_WORK_TREE=\/srv\/sites\/example.com\/public git checkout -fThis is the error response i&#8217;m getting back from git push origin master from my local workstation. These are files from within my repository.remote: post<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1bb5f2e12dcbfb8c103689f4ae94f431?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMike Silvis<br \/>\nssh git git-repository<br \/>\nI used to be able to clone from my personal git repository but now i seem to be running into an error.user:dev.site.com mikesilvis$ git clone { my ssh directory } server@ipaddress&#8217;s password: remote: Counting objects: 3622, done. remote: Compressing objects: 100% (2718\/2718), done. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the remote side. remote: aborting due to possible repository corruption on the remo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d3079d38aa44e2676bb72e9bde6d4cec?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTimSum<br \/>\namazon-web-services git<br \/>\nI&#8217;m working on getting git setup for my application on Elastic Beanstalk. I&#8217;ve been following the instructions provided by amazon. After pushing the changes I get this errorgit aws.pusherror: The requested URL returned error: 403 while accessing https:\/\/&lt;Access Key Removed&gt;:20130117T213945Z538f1c7baf8c89b4b547cb6717aabbaa7dfab3c52e0911d71e17b06765b922b2@git.elasticbeanstalk.us-east-1.amazonaws.com\/v1\/repos\/54696d73546573744170706c69636174696f6e\/commitid\/623231303164626462643734363035363432<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a345c308a09cc6bb9d35ed1874217c56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlamp_scaler<br \/>\nlinux permissions git file-permissions<br \/>\nI&#8217;ve got a bare central repo that has this option turned on:git config core.sharedRepository trueFor some reason, the other users on this CentOS machine that pulls\/pushes from the central repo always encounter a permission error when pushing onto a branch that someone already pushed.I looked into the objects dir and realized that whoever pushed first gets their username set as the owner AND the group.I&#8217;ve set it up so that the users all belong under a &#8220;developers&#8221; group and then chgrp -R the bar<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0f0dd431e7bcf40eed0c0bf87d48ab0c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser200340<br \/>\njava distributed rmi file-permissions<br \/>\nI am new to RIM, and currently taking the tutorial at http:\/\/java.sun.com\/docs\/books\/tutorial\/rmi\/overview.htmlI am able to start server like:C:\\Documents and Settings\\myHome&gt;java -cp c:\\home\\ann\\src;c:\\home\\ann\\public_ html\\classes\\compute.jar -Djava.rmi.server.codebase=file:\/c:\/home\/ann\/public_htm l\/classes\/compute.jar -Djava.rmi.server.hostname=localhost -Djava.security.polic y=c:\\home\\ann\\policy\\server.policy engine.ComputeEngine ComputeEngine boundHowever, when i try to run client i got exc<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6881210ac86d5c9d9f1f48fbbfd5a4d1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nACE91<br \/>\nlinux gradle file-permissions ntfs<br \/>\nI&#8217;m somewhat new at Gradle. My development PC dual-boots both Windows and Linux, and so I have an NTFS &#8220;data drive&#8221; that both OS&#8217;s share, and I keep all of my development files on this drive. I have a Gradle Java project that compiles fine under Windows, but, under Linux, it fails with this error:FAILURE: Build failed with an exception.* What went wrong: Could not copy MANIFEST.MF to &#8216;\/(&#8230;my project path&#8230;)\/build\/tmp\/jar\/MANIFEST.MF&#8217;.* Try: Run with &#8211;debug option to get more log output.* Exce<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/769cdb6136e7c884866b5373bd63599c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nElvisLikeBear<br \/>\nphp file-permissions directory-permissions<br \/>\nCheck this code:&lt;?php$url = &#8216;http:\/\/www.example.com\/downloads\/count.txt&#8217;;$hit_count = @file_get_contents($url); $hit_count++; @file_put_contents($url, $hit_count);header(&#8216;Location: wmwc.zip&#8217;);?&gt;@file_get_contents is working fine and the header location change to the downloaded file also works, but either the hit_count increase or @file_put_contents isn&#8217;t working, because the number with the file doesnt increase by 1. I&#8217;ve set the file permission to 777, but when I try to set the directory<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8348bcf40f55bc5818651824369caff1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSoner G\u00f6n\u00fcl<br \/>\nc# windows wcf filesystems file-permissions<br \/>\nI have a windows service that host a wcf service to allow remot file and folder browsing. The windows service runs under the local system account.When browsing the c:\\ drive the service reports over 2800 files in that folder. i have single stepped through the code and it does indeed report &gt;2800 files.How can this be correct?C# Code\/\/Files Managerpublic ReturnClass FindSubFiles(String Folder_To_Search, String User, String SessionId) {ReturnClass myReturnClass = new ReturnClass(-1, String.Empty,<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5b984e34330d801c7ba96f53c2a312e9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTom<br \/>\nwindows-7 file-permissions<br \/>\nI seem to have a general problem with &#8220;access denied on Windows&#8221;. It manifests itself every time if e.g:My bat file calls a compiler creates a file on disk My bat file renames a file But I also have files downloaded (FireFox) to Windows desktop where Windows is giving me &#8220;access denied&#8221; if I try delete the file. Tried disable AVG + make exception in AVG resident shield(I have tried checking with Task Manager + Winternals process explorer that it is not process running still running that should c<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6e7e86092266c18ac64c4c950848a98e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn Smith<br \/>\nlinux permissions file-permissions chmod gnu<br \/>\nI am reading The Linux Command Line by William Shotts and I read somewhere in the book a part regarding permissions which says The operation may be a &#8220;+&#8221; indicating that a permission is to be added, a &#8220;-&#8221; indicating that a permission is to be taken away, *or a &#8220;=&#8221; indicating that only the specified permissions are to be applied and that all others are to be removed*.(see the part between **)So I tried it:me@ubuntu:~$ &gt; foo me@ubuntu:~$ ls -al | grep foo -rw-rw-r&#8211; 1 me me 0 Apr 2 05:17<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1b58a8aff9266444363f0ce9f674c2af?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncolumbo<br \/>\nlinux web access file-permissions<br \/>\nI&#8217;m relatively new to Linux so please excuse my ignorance.I have a public web directory where I have been experimenting with the permissions to try to learn about them. I have set up a simple test.php file and set its permissions as follows:-rw &#8212; &#8212;Which I was expecting to mean only the owner can access the file and no other. But, I can still access this file remotely from the web and the test page shows? This is on a Red Hat web server. NOTE: The owner use is not the web access user.This wo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/89fb10190c9ade741aa491f8fa8fb4ad?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAri<br \/>\n.net git permissions file-permissions atlassian-stash<br \/>\nIs there any good way to handle permission to single files in git repository?I have .net project which I want to share with my team. What I don&#8217;t want to share are connection strings to production db, storage and so on.I know I could create new branch with these files, but it&#8217;s getting much more complicated.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/c8cpq.png?s=32&amp;g=1\" \/><br \/>\nort11<br \/>\niphone ios ipad file file-permissions<br \/>\nIs there anyway to &#8220;break&#8221; the sandbox and give permissions to another running APP to allow for file access read \/ write \/ delete for the other APP? I did a bit of looking and have not found a way yet.<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kyle Brandt linux When trying to reboot a Linux server I got the typical &#8216;System going down for reboot now&#8217;, but the server has not rebooted. I have tried:reboot shutdown -r nowThe runlevel command returns 5. Any other options for getting this server to reboot? This is a remote machine, so I don&#8217;t want to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6497","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6497"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6497\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}