{"action":"closed","issue":{"url":"https://api.github.com/repos/ngarneau/glo-2001-tp3/issues/16","labels_url":"https://api.github.com/repos/ngarneau/glo-2001-tp3/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/ngarneau/glo-2001-tp3/issues/16/comments","events_url":"https://api.github.com/repos/ngarneau/glo-2001-tp3/issues/16/events","html_url":"https://github.com/ngarneau/glo-2001-tp3/issues/16","id":66620172,"number":16,"title":"bd_rename","user":{"login":"ngarneau","id":665101,"avatar_url":"https://avatars.githubusercontent.com/u/665101?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarneau","html_url":"https://github.com/ngarneau","followers_url":"https://api.github.com/users/ngarneau/followers","following_url":"https://api.github.com/users/ngarneau/following{/other_user}","gists_url":"https://api.github.com/users/ngarneau/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarneau/subscriptions","organizations_url":"https://api.github.com/users/ngarneau/orgs","repos_url":"https://api.github.com/users/ngarneau/repos","events_url":"https://api.github.com/users/ngarneau/events{/privacy}","received_events_url":"https://api.github.com/users/ngarneau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ngarneau/glo-2001-tp3/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ngarneau","id":665101,"avatar_url":"https://avatars.githubusercontent.com/u/665101?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarneau","html_url":"https://github.com/ngarneau","followers_url":"https://api.github.com/users/ngarneau/followers","following_url":"https://api.github.com/users/ngarneau/following{/other_user}","gists_url":"https://api.github.com/users/ngarneau/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarneau/subscriptions","organizations_url":"https://api.github.com/users/ngarneau/orgs","repos_url":"https://api.github.com/users/ngarneau/repos","events_url":"https://api.github.com/users/ngarneau/events{/privacy}","received_events_url":"https://api.github.com/users/ngarneau/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-06T14:48:00Z","updated_at":"2015-04-06T15:58:11Z","closed_at":"2015-04-06T15:58:11Z","body":"Le rename sur un dossier qui contient des fichiers semble pas bien fonctionner:\r\n\r\nls /doc \r\n drwxrwx              . size:      48 inode:  2 nlink: 3\r\n drwxrwx             .. size:      96 inode:  1 nlink: 5\r\n drwxrwx            tmp size:      64 inode:  5 nlink: 4\r\nRetVal:3\r\n\r\nrename /doc/tmp /Bonjour/tmpmv \r\nRetVal:0\r\n\r\nOn vérifie que le nombre de lien pour /Bonjour augmente de 1 et qu'il diminue de 1 pour /doc:\r\n\r\nls / \r\n drwxrwx              . size:      96 inode:  1 nlink: 5\r\n drwxrwx             .. size:      96 inode:  1 nlink: 5\r\n drwxrwx            doc size:      32 inode:  2 nlink: 2\r\n drwxrwx        Bonjour size:      64 inode:  4 nlink: 3\r\n drwxrwx       Doge.wow size:       0 inode:  3 nlink: 1\r\n -rwxrwx   DansRoot.txt size:       0 inode:  9 nlink: 1\r\nRetVal:6\r\n\r\nOn vérifie que le sous-réperoire tmpmv contient encore subtmp et new.txt:\r\n\r\nls /Bonjour/tmpmv \r\nRetVal:-1\r\n\r\nOn vérifie que le nombre de lien vers ce même répertoire n'augmente pas si on répète l'opération:\r\n\r\nrename /Bonjour/tmpmv /Bonjour/tmpmv2 \r\nRetVal:-1\r\n\r\nrename /Bonjour/tmpmv2 /Bonjour/tmpmv3 \r\nRetVal:-1"}}