Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1492 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Problème de partage étrange

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème de partage étrange

n°615422
zigounou
Posté le 04-01-2005 à 19:21:44  profilanswer
 

Bonjour à tous, voilà mon problème.  
 
Possédant un pc sous une mandrake 10.1 official, j'ai creer un fichier dans mon repertoire personnel pour le partager (click droit, partager, nfs et samba ok, edit de smb.conf pour writable=yes, smb et nfs installé). Et bien impossible d'écrire sur ce repertoire depuis l'autre pc linux (sachant que sous un pc xp celà fonctionne à mon grand desespoir)... je peux lire, mais rien modifier, ce qui me semble tout de même étrange, étant donné qu'un click droit pour propriété m'indique que toutes les croix sont cochées (utilisateur, groupe, et autres pour lire/ecrire/entrer).
 
Merci de votre aide !
 

mood
Publicité
Posté le 04-01-2005 à 19:21:44  profilanswer
 

n°615429
Dark_Schne​ider
Close the World, Open the Net
Posté le 04-01-2005 à 19:33:41  profilanswer
 

depuis le PC sous XP tu te loggues avec le même username que ton user ayant les droits sur le fichier/rep


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°615437
zigounou
Posté le 04-01-2005 à 19:42:47  profilanswer
 

Nan mais XP j'en veux pas, c'est de linux à linux, je peux lire mon repertoire, mais pas le modifier :
 
pc1 : mandrake 10.1 avec repertorie partagé-------> pc2 mdk 10.0
 
Et bien le pc2 lit bien les fichiers du pc1, preuve que je n'ai pas tout configuré comme un sagouin, mais je peux pas écrire ou modifier ce repertoire du pc1...


Message édité par zigounou le 04-01-2005 à 19:44:38
n°615478
zigounou
Posté le 04-01-2005 à 20:57:33  profilanswer
 

siyouplé :D

n°615479
ory
Posté le 04-01-2005 à 20:58:21  profilanswer
 

tu pourrais poster ton smb.conf ?

n°615486
zigounou
Posté le 04-01-2005 à 21:07:31  profilanswer
 

pas de pb :
 
 
#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
# You can enable VFS recycle bin and on-access virus-scanning on a per  
# share basis:
# Uncomment the next 2 lines (make sure you create a .recycle folder in  
# the base of the share and ensure all users will have write access to it.
# For virus scanning, install samba-vscan-clamav and ensure the clamd service
# is running
#   vfs objects = vscan-clamav recycle
#   vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
 
# Un-comment the following and create the netlogon directory for Domain Logons
# [netlogon]
#   comment = Network Logon Service
#   path = /var/lib/samba/netlogon
#   guest ok = yes
#   writable = no
 
#Uncomment the following 2 lines if you would like your login scripts to
#be created dynamically by ntlogon (check that you have it in the correct
#location (the default of the ntlogon rpm available in contribs)
#root preexec = /usr/bin/ntlogon -u '%u' -g '%g' -o %a -d /var/lib/samba/netlogon/
#root postexec = rm -f '/var/lib/samba/netlogon/%u.bat'
 
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
#[Profiles]
#    path = /var/lib/samba/profiles
#    browseable = no
#    guest ok = yes
#    writable = yes
# This script can be enabled to create profile directories on the fly
# You may want to turn off guest acces if you enable this, as it
# hasn't been thoroughly tested.
#root preexec = PROFILE='/var/lib/samba/profiles/%u'; if [ ! -e $PROFILE ]; \
#                then mkdir -pm700 $PROFILE; chown '%u':'%g' $PROFILE;fi
# If you want read-only profiles, fake permissions so windows clients think
# they have written to the files
# vfs objects = fake_perms
 
# NOTE: If you have a CUPS print system there is no need to  
# specifically define each individual printer.
# You must configure the samba printers with the appropriate Windows
# drivers on your Windows clients or upload the printer driver to the
# server from Windows (NT/2000/XP). On the Samba server no filtering is
# done. If you wish that the server provides the driver and the clients
# send PostScript ("Generic PostScript Printer" under Windows), you have
# to use 'printcap name = cups' or swap the 'print command' line below  
# with the commented one. Note that print commands only work if not using  
# 'printing=cups'
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# to allow user 'guest account' to print.
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
#   print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients).
# If you install drivers on the server, you will want to uncomment this so
# clients request the driver  
   use client driver = yes
 
# This share is used for Windows NT-style point-and-print support.
# To be able to install drivers, you need to be either root, or listed
# in the printer admin parameter above. Note that you also need write access
# to the directory and share definition to be able to upload the drivers.
# For more information on this, please see the Printing Support Section of
# /usr/share/doc/samba-<version>/docs/Samba-HOWTO-Collection.pdf  
#
# A special case is using the CUPS Windows Postscript driver, which allows
# all features available via CUPS on the client, by publishing the ppd file
# and the cups driver by using the 'cupsaddsmb' tool. This requires the
# installation of the CUPS driver (http://www.cups.org/windows.php)  
# on the server, but doesn't require you to use Windows at all :-).
[print$]
   path = /var/lib/samba/printers
   browseable = yes
   write list = @adm root
   guest ok = yes
   inherit permissions = yes
   # Settings suitable for Winbind:
   # write list = @"Domain Admins" root
   # force group = +@"Domain Admins"
 
# A useful application of samba is to make a PDF-generation service
# To streamline this, install windows postscript drivers (preferably colour)
# on the samba server, so that clients can automatically install them.
# Note that this only works if 'printing' is *not* set to 'cups'
 
[pdf-gen]
   path = /var/tmp
   guest ok = No
   printable = Yes
   comment = PDF Generator (only valid users)
   printing = bsd
   #print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
   print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
    lpq command = /bin/true
 
# A share allowing administrators to set ACLs on, or access for backup purposes
# ll files (as root).
#[admin]  
#  path = /
#  admin users = @"Domain Admins"
#  valid users = @"Domain Admins"
#  browseable = no
#  writeable = yes  
 
# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes
 
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba/public
;   public = yes
;   writable = yes
;   write list = @staff
# Audited directory through experimental VFS audit.so module:
# Uncomment next line.
#   vfs object = /usr/lib/samba/vfs/audit.so
 
# Other examples.  
#
# A private printer, usable only by Fred. Spool data will be placed in Fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
 
# A private directory, usable only by Fred. Note that Fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
 
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes
 
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
 
[ZIG_GOGOL]
   path = /home/zig/gogol
   comment = /home/zig/gogol
   public = yes
   guest ok = yes
   writable = yes
   wide links = no
 
Le repertoire partagé ou j'ai donné tous les droits est gogol ;)

n°615535
zigounou
Posté le 04-01-2005 à 22:03:40  profilanswer
 

Personne ne voit !?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Problème de partage étrange

 

Sujets relatifs
[Kernel] Probleme compilation Kernel 2.6.9Problème Geforce FX 5600XT sous Linux
Problème avec sambaprobleme installation apache 2.0.52
problème de MBRProblème connexion AOL ADSL avec la MANDRAKE 10
problème lecture de vidéos .mp4[MDK10.1] Probleme installe drivers modem rtc
mandrake 10.1 et urpmi: problèmeProblème (très étrange) de partage de connexion internet avec linux
Plus de sujets relatifs à : Problème de partage étrange


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR