Project

General

Profile

Anomalie #5109

Erreur à la création du partage applidos [2.4]

Added by Joël Cuissinat almost 7 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
05/06/2013
Due date:
05/10/2013
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.4

Description

## Génération de la configuration Samba ##
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/usr/lib/python2.7/dist-packages/horus/backend.py", line 499, in add_share
    makedirs(filepath)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/data/applidos'

Hors :

root@eolebase:~# ll /data 
lrwxrwxrwx 1 root root 16 mars  25 17:29 /data -> /home/workgroups
root@eolebase:~# ll /home/workgroup
ls: impossible d'accéder à /home/workgroup: Aucun fichier ou dossier de ce type


Related issues

Follows conf-horus - Evolution #4956: Portage de conf-horus en 2.4 Fermé 02/25/2013 03/01/2013

Associated revisions

Revision 0975e9db (diff)
Added by Joël Cuissinat almost 7 years ago

  • pretemplate/01-horus : création de /home/workgroups sur Horus 2.4

Fixes #5109

History

#1 Updated by Joël Cuissinat almost 7 years ago

  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 10

Sur 2.3, on avait :

root@horus:~# grep -i workgroups /usr/share/eole/p*/*
/usr/share/eole/pretemplate/01-fichier:WORKGROUPS="$HOMEDIR/workgroups" 
/usr/share/eole/pretemplate/01-fichier:/bin/mkdir -p $WORKGROUPS
/usr/share/eole/pretemplate/01-fichier:chmod a+rx $WORKGROUPS
/usr/share/eole/pretemplate/01-horus:    mv /home/data/* /home/workgroups/
/usr/share/eole/pretemplate/01-horus:    [ -L /data ] && ln -nsf /home/workgroups /data
/usr/share/eole/pretemplate/01-horus:# Ajout du lien /data -> /home/workgroups
/usr/share/eole/pretemplate/01-horus:[ ! -L /data ] && ln -nsf /home/workgroups /data
/usr/share/eole/pretemplate/01-horus:    [ ! -L $container_path_fichier/data ] && ln -s /home/workgroups $container_path_fichier/data
root@horus:~#

#2 Updated by Joël Cuissinat almost 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 10 to 100

#3 Updated by Joël Cuissinat almost 7 years ago

  • Due date changed from 03/02/2013 to 05/10/2013
  • Start date changed from 03/02/2013 to 05/06/2013

#4 Updated by Joël Cuissinat over 6 years ago

  • Status changed from Résolu to Fermé
root@eolebase:~# ls  -l /data 
lrwxrwxrwx 1 root root 16 mai   31 17:03 /data -> /home/workgroups
root@eolebase:~# ls  -l /data/
total 8
drwxrwx--T+ 2 root applidos 4096 mai   31 17:11 applidos
drwxrwx--T+ 2 root minedu   4096 mai   31 17:11 minedu

Also available in: Atom PDF