Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

gid und uid nur als Zahl

Featured Replies

Hallo,

ich habe in den Web Verzeichnissen in der Shell f?r die uid und die gid nur Zahlen stehen.

Soe ensteht unter PHP nun folgende Probleme:

 

PHP Warning: chgrp(): Unable to find gid for 10001 in /home/httpd/........

PHP Warning: chown(): Unable to find uid for 10001 in /home/httpd/........

 

Das sollte doch nicht sein, oder? Normal m?sste doch die Kunden userid als uid drinstehen.

 

Wie kann ich das ?ndern?

 

Besten Dank f?r Hilfe.

 

Christian

 

PS.: Debian Sqeeze, aktuelles Froxlor, PHP5.3

  • Author

HAllo Cardman,

das ist es. Ich habe nur das Problem das nur die uid gesetzt wird. Die Gruppen sind noch Zahlen. ich bin nochmal alles durchgegangen und habe die nss config Files ?berpr?ft. Aber da scheint alles zu passen. Woran kann das liegen? Was kann ich tun?

 

Besten Dank f?r HIlfe

 

Christian

Hast du die Konfiguration auch angepasst?

Da sind insgesamt 3 Dateien anzupassen.

  • Author

Ja, ich habe die Inhalte durch die aus Froxlor komplett ersetzt. Bei der uid funktioniert es , bei den Gruppen nicht. In den Logs (nss in syslog)kann ich keine Fehlermeldung finden. Auch die mysql tabellen felder stimmen ?berein.

Schreibt nscd die Werte dann noch in Dateien, aus denen Linux sie dann zuweist?

 

Christian

In der Datei sollte auch die Gruppe mit angepasst werden:

 

nss-mysql.conf:

conf.version = 2;
users.host = inet:127.0.0.1:3306;
users.database = froxlor;
users.db_user = xxx;
users.db_password = xxx;
users.table = ftp_users u;
users.where_clause =;
users.user_column = u.username;
users.password_column = u.password;
users.userid_column = u.id;
users.uid_column = u.uid;
[b]users.gid_column = u.gid;[/b]
users.realname_column = u.username;
users.homedir_column = u.homedir;
users.shell_column = u.shell;
groups.group_info_table = ftp_groups g;
groups.where_clause = ;
groups.group_name_column = g.groupname;
groups.groupid_column = g.id;
groups.gid_column = g.gid;
groups.password_column = "x";
groups.members_table = ftp_groups ug;
groups.member_userid_column = ug.customerid;
groups.member_groupid_column = ug.id;

 

So sieht die Datei bei mir aus und da funktioniert sowohl die Gruppe als auch der User.

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.