/[smecontribs]/rpms/smeserver-shared-folders/contribs8/smeserver-shared-folders-0.1-add_acl_in_fstab.patch
ViewVC logotype

Contents of /rpms/smeserver-shared-folders/contribs8/smeserver-shared-folders-0.1-add_acl_in_fstab.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 3 22:04:38 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-80_el5_sme, smeserver-shared-folders-0_1-83_el5_sme, smeserver-shared-folders-0_1-84_el5_sme, smeserver-shared-folders-0_1-82_el5_sme, smeserver-shared-folders-0_1-87_el5_sme, smeserver-shared-folders-0_1-86_el5_sme, smeserver-shared-folders-0_1-81_el5_sme, smeserver-shared-folders-0_1-85_el5_sme, smeserver-shared-folders-0_1-79_el5_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/createlinks mezzanine_patched_smeserver-shared-folders-0.1/createlinks
2 --- smeserver-shared-folders-0.1/createlinks 2009-04-08 11:55:18.000000000 +0200
3 +++ mezzanine_patched_smeserver-shared-folders-0.1/createlinks 2009-04-29 18:06:34.000000000 +0200
4 @@ -36,4 +36,5 @@
5 safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/smbd");
6 }
7
8 +templates2events("/etc/fstab", "post-upgrade");
9
10 diff -Nur -x '*.orig' -x '*.rej' smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL
11 --- smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL 1970-01-01 01:00:00.000000000 +0100
12 +++ mezzanine_patched_smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/fstab/51EnableACL 2009-04-29 18:03:13.000000000 +0200
13 @@ -0,0 +1,10 @@
14 +{
15 + # Change usrquota,grpquota => usrquota,grpquota,acl for / file system
16 + @lines = map {
17 + /\s\/\s+ext[23]\s+usrquota,grpquota\s/ && s/usrquota,grpquota/usrquota,grpquota,acl/;
18 + /^\/dev\/main\/.*\s+ext[23]\s+usrquota,grpquota\s/ && s/usrquota,grpquota/usrquota,grpquota,acl/;
19 + $_
20 + } @lines;
21 + "";
22 +}
23 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed