Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
It seams to be impossible to change Folders Attributes, even hidding one when browsing from Windows ...??, i managed to configure my smb.conf well, enought to map correctly attributes for files but directorys still resist on my efforts !
I turn around of this bug for 13 hours in 4 days and i'm cracking !!!
Does someone has this same behavior ? or Does someone managed to set Hidden or system Attributes on a folder of his samba share ?
Part of my smb.conf
Offline
sorry, the smb.conf :
[ global ]
interfaces = egiga0
unix charset = UTF8
workgroup = workgroup
netbios name = dlink-ED1EBE
server string = DNS-323
hosts allow =
hosts deny =
security = SHARE
encrypt passwords = yes
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
max xmit = 65535
dos filemode =yes
store dos attribute = yes
load printers = Yes
printcap name = /usr/local/LPRng/etc/printcap
min print space = 2000
max print jobs = 1000
printing = lprng
print command = /usr/local/LPRng/bin/lpr -P%p -r %s
lpq command = /usr/local/LPRng/bin/lpq -P%p
lprm command = /usr/local/LPRng/bin/lprm -P%p %j
lppause command = /usr/local/LPRng/sbin/lpc hold %p %j
lpresume command = /usr/local/LPRng/sbin/lpc release %p %j
queuepause command = /usr/local/LPRng/sbin/lpc -P%p stop
queueresume command = /usr/local/LPRng/sbin/lpc -P%p start
use sendfile =yes
[ web_page ]
comment = Enter Our Web Page Setting
path = /mnt/web_page
valid users =
read only = yes
guest ok = yes
[printers]
path = /mnt/HD_a4/.lpd
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[ Volume_1 ]
comment =
path = /mnt/HD_a2
valid users =
read only = no
guest ok = yes
oplocks = yes
dos filemode =yes
store dos attribute = yes
map archive = yes
map system = yes
map hidden = yes
any idea ?
Offline
A couple of things. First it should be 'store dos attributes = yes' where 'attributes' is plural. Second, 'store dos attributes' and the three 'map ...' settings are sort of mutually exclusive. The former uses Linux extended attributes (EA) to store DOS attributes and should support directories. The latter are direct mappings between DOS and Unix file attributes and should all be set to 'no' if 'store dos attributes' is set to 'yes'. Also if I recall correctly, these mappings don't support directories, as you have found out.
So try the following:
store dos attributes = yes
map archive = no
map system = no
map hidden = no
Disclaimer: I don't use any of these on the DNS-323 myself, so I can't guarantee this is the source of your problem. Proper extended attribute support depends on Linux kernel, Samba, as well as file system... If you can't get it to work, consider upgrading your firmware to 1.04, if you haven't done so, as it uses Samba 3.x.
Last edited by blahsome (2008-04-03 01:23:31)
Offline
sorry blahsome, and thanks for your interest, *
i'd make a mistake, did not gave the correct smb.conf, mine was really[ Volume_1 ]
comment =
path = /mnt/HD_a2
valid users =
read only = no
guest ok = yes
oplocks = yes
create mask = 755
directory mask = 755
dos filemode =yes
store dos attribute = yes
map archive = yes
map system = yes
map hidden = yes
but, i just test your knowledge, thank's again ,it is a pleasure to be eard !
Offline
i've tried :
dos filemode =yes
store dos attributes = yes
map archive = no//map system = no//map hidden = no
.... and i loose the ability to change files attributes too., i'm wondering about the behavior of this store dos attrib.
ps.: , i made all firm. update, the samba is 3.0.4.24 ....in the firm. 1.04
Offline
Try add this too:
ea support = yes
Offline
yes !!! i was on it , after all this time glueing on my machine !!, i'am trying...
no, it does not work, does xp support EA ??? (newbies question i apologie)
when i put :
create mask = 755
directory mask = 755
dos filemode = yes
store dos attributes = yes
map hidden = no
map system = no
map archive = no
ea support = yes
it is not mapping even files or folders attrib.
if i change map hidden = yes, it is mapping correctly the hidden attrib, but only on files, not on folders
i'am getting mad with this !!
Offline