[Samba] ACL not working

Adi Nugraha adi at westindo.co.id
Tue Feb 1 05:25:10 GMT 2005


Got it !!!!!!!!!
turns out I need to install a package called kernel-source before I can edit
the /etc/fstab, I can set ACL now thank you for your help, seriously, thank
you
----- Original Message -----
From: "Travis Bullock" <tbullock at avmax.ca>
To: "'Adi Nugraha'" <adi at westindo.co.id>
Sent: Monday, January 31, 2005 10:34 PM
Subject: RE: [Samba] ACL not working


> Sure. Let me know when  have it back up and running.
>
> Wierd that you couldn't find the kernel config.  Maybe Mandrake is
different
> but isn't Mandrake a version of Linux?
>
> Maybe you should give Fedora Core 3 a shot?
>
> Cheers,
>
> Travis
>
> -----Original Message-----
> From: Adi Nugraha [mailto:adi at westindo.co.id]
> Sent: Sunday, January 30, 2005 11:31 PM
> To: Travis Bullock
> Subject: Re: [Samba] ACL not working
>
>
>
> well, I still couldn't find the config file anyway, so I think I'm going
to
> try rebuilding the kernel or reinstalling the whole thing again, good
thing
> it's a test environment ;->
> ----- Original Message -----
> From: "Travis Bullock" <tbullock at avmax.ca>
> To: "'Adi Nugraha'" <adi at westindo.co.id>
> Sent: Friday, January 28, 2005 11:40 PM
> Subject: RE: [Samba] ACL not working
>
>
> > Well the 'kernel-2.6.5-i686-smp.config' is the kernel off my Fedora Core
> > 2....you are probably running a different kernel and also when you
execute
> > the grep FS_SECURITY kernel*** command you have to be in the directory
> that
> > the kernel is in.....so for example for me to find my kernel i do:
> >
> > [root at atlas Planning]# find / -name configs
> > /usr/src/linux-2.6.5-1.358/configs
> > /usr/src/linux-2.6.5-1.358/arch/sh/configs
> > /usr/src/linux-2.6.5-1.358/arch/ia64/configs
> > /usr/src/linux-2.6.5-1.358/arch/mips/configs
> > /usr/src/linux-2.6.5-1.358/arch/ppc64/configs
> > /usr/src/linux-2.6.5-1.358/arch/ppc/configs
> > /usr/src/linux-2.6.5-1.358/arch/parisc/configs
> > /usr/src/linux-2.6.5-1.358/arch/arm/configs
> > /usr/share/doc/rp-pppoe-3.5/configs
> >
> > [root at atlas Planning]# cd /usr/src/linux-2.6.5-1.358/configs/
> >
> > [root at atlas configs]# pwd
> > /usr/src/linux-2.6.5-1.358/configs
> >
> > The kernel configuration file is in /usr/src/linux-2.6.5-1.358/configs.
> >
> > [root at atlas configs]# uname -m
> > i686
> >
> > This says that the CPU is an i686.
> >
> > [root at atlas configs]# uname -r
> > 2.6.5-1.358smp
> >
> > The kernel the machine is running on is 2.6.5-1
> >
> > So those grep commands should work as long as you grep your own kernel
and
> > make sure you are in the proper directory when you execute.
> >
> > If when you do this it doesn't show the extended attribs then you will
> > probably have to recompile the kernel......i would be of no help to you
at
> > that point....i am terrible at recompiling the kernel...
> >
> > Cheers,
> >
> > Travis
> >
> >
> >
> >
> > -----Original Message-----
> > From: Adi Nugraha [mailto:adi at westindo.co.id]
> > Sent: Thursday, January 27, 2005 9:06 PM
> > To: Travis Bullock
> > Subject: Re: [Samba] ACL not working
> >
> >
> > I tried grep FS_SECURITY kernel-2.6.5-i686-smp.config but it returns no
> such
> > file, where is the file located ??, I tried cahnging the fstab but it
seem
> > the acl and user_xattr is not a known option, does this mean that the
> kernel
> > doesn't support ACL ?
> >
> >
> > ----- Original Message -----
> > From: "Travis Bullock" <tbullock at avmax.ca>
> > To: "'Adi Nugraha'" <adi at westindo.co.id>
> > Sent: Thursday, January 27, 2005 11:06 PM
> > Subject: RE: [Samba] ACL not working
> >
> >
> > > I encountered this problem as well.
> > >
> > > Firstly you have to determine whether your Kernel was compiled with
> > extended
> > > attributes. Here is what my Kernel looks like as far as having the
> > extended
> > > attributes compiled:
> > >
> > > [root at atlas configs]# grep FS_SECURITY kernel-2.6.5-i686-smp.config
> > > CONFIG_EXT2_FS_SECURITY=y
> > > CONFIG_EXT3_FS_SECURITY=y
> > > CONFIG_XFS_SECURITY=y
> > > CONFIG_DEVPTS_FS_SECURITY=y
> > > [root at atlas configs]# grep XATTR kernel-2.6.5-i686-smp.config
> > > CONFIG_EXT2_FS_XATTR=y
> > > CONFIG_EXT3_FS_XATTR=y
> > > CONFIG_DEVPTS_FS_XATTR=y
> > >
> > > If your kernel was compiled with the xattr support then maybe your
fstab
> > > doesn't have the xattr enabled on your file system. Here is my fstab
> entry
> > > to enable xattr. My file system is on a "Volume Disk" so you won't see
> any
> > > /dev/hd0....etc typ entries:
> > >
> > > Before:   /dev/Goliath/root       /                       ext3
> defaults
> > > 1 1
> > > After :   /dev/Goliath/root       /                       ext3
> > > acl,user_xattr  1 1
> > >
> > > See if these things help you out.
> > >
> > > Cheers,
> > >
> > > Travis
> > >
> > > -----Original Message-----
> > > From: Adi Nugraha [mailto:adi at westindo.co.id]
> > > Sent: Thursday, January 27, 2005 4:08 AM
> > > To: Travis Bullock
> > > Subject: Re: [Samba] ACL not working
> > >
> > >
> > > I tried setting  acl from the linu xbut it keeps returning "operation
> not
> > > supported", does it mean Mandarake doesn't support acl ?? what can I
do
> to
> > > make it work ? I tried looking at few(hard to find) documents about
acl
> > but
> > > it only tells how to set them without any clue on what my error meant,
> > > ----- Original Message -----
> > > From: "Travis Bullock" <tbullock at avmax.ca>
> > > To: "'Adi Nugraha'" <adi at westindo.co.id>
> > > Sent: Wednesday, January 26, 2005 11:31 PM
> > > Subject: RE: [Samba] ACL not working
> > >
> > >
> > > > Well I don't know how to get windows to set file permissions on
Samba
> > > shares
> > > > but it is fairly easy to do from the bash prompt in Linux....not
sure
> > > about
> > > > Mandrake but I'm sure it is similar.
> > > >
> > > > I am not a Linux guru by any stretch of the imagination but I have
> > > recently
> > > > got my own ACL stuff sorted out over the past couple days on my
Fedora
> > > Core
> > > > 2 box.  I wanted to use Winbind to communicate with my Windows PDC's
> so
> > I
> > > > wouldn't have to recreate all my Windows users on the Fedora box. I
> have
> > > it
> > > > working now so I may be able to help you or.....maybe not :-)
> > > >
> > > > I found this website quite helpfull:
> > > >
> > > > http://www-uxsup.csx.cam.ac.uk/suse/adminguide-9.0/node27.html
> > > >
> > > > It won't help you change your directory permissions via windows but
it
> > all
> > > > works pretty well from the Bash prompt.
> > > >
> > > > Cheers,
> > > >
> > > > Travis
> > > >
> > > > -----Original Message-----
> > > > From: Adi Nugraha [mailto:adi at westindo.co.id]
> > > > Sent: Tuesday, January 25, 2005 6:49 PM
> > > > To: Travis Bullock
> > > > Cc: samba at samba.org
> > > > Subject: Re: [Samba] ACL not working
> > > >
> > > >
> > > > No, I'm trying to set an file security from windows, I'd like to
have
> a
> > > per
> > > > user security access, something like user1 & user2 RW rights, and
> user3
> > > read
> > > > only, and deny all others, I know it can be done through a group or
> > > > something but, if you have a lot of files and a lot of user, there
> would
> > > be
> > > > too many groups for each user, don't realy want to that,
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Travis Bullock" <tbullock at avmax.ca>
> > > > To: "'Adi Nugraha'" <adi at westindo.co.id>
> > > > Sent: Wednesday, January 26, 2005 12:06 AM
> > > > Subject: RE: [Samba] ACL not working
> > > >
> > > >
> > > > > Are you trying to get windows Domain accounts to be able to access
> > Samba
> > > > > shares?
> > > > >
> > > > > -----Original Message-----
> > > > > From: samba-bounces+tbullock=avmax.ca at lists.samba.org
> > > > > [mailto:samba-bounces+tbullock=avmax.ca at lists.samba.org]On Behalf
Of
> > Adi
> > > > > Nugraha
> > > > > Sent: Tuesday, January 25, 2005 3:50 AM
> > > > > To: samba at samba.org
> > > > > Subject: [Samba] ACL not working
> > > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > I want to set Security to single file, but I keep getting access
> > denied,
> > > I
> > > > > can change the Permissions that is alreday displayed, but I can
add
> > any
> > > > user
> > > > > or group, after redaing the samba how to it seems I need POSIX
ACL,
> > but
> > > > the
> > > > > book didn't mention anything about how to use POSIX ACL, Trying to
> set
> > > it
> > > > > from windows doesn't work, can anyone point me to document about
> POSIX
> > > ACL
> > > > ?
> > > > > BTW I'm using mandrake 10.0 and samba with ldap backend
> > > > >
> > > > > thanks
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  https://lists.samba.org/mailman/listinfo/samba
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



More information about the samba mailing list