LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-04-2012, 10:16 AM   #1
jsveiga
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: debian on servers and embedded, kubuntu elsewhere
Posts: 31

Rep: Reputation: 1
Compressed fs with acl (posix) support?


Hello (running debian squeeze),

I use a perl script which creates incremental/hardlinked backups of my samba shares, tar-bz2'ing each file individually (tar is for preserving directory perms for easier recovering).

These snapshots are also shared for the users to be able to go back in time fetching modified/deleted files.

I would like to replace this schema with rsnapsot (rsync based) on a compressed filesystem, but my shares use ACL (posix, setfacl), mapped by samba to the windows clients.

I tried fusecompress and zfs-on-fuse, but they did not work with acl (at least not with setfacl).

I read somewhere that posix acls are obsolete, so zfs does not support it, supporting windows and nfsv4 acls instead (http://compgroups.net/comp.unix.sola...x-style/220004). Can these replace posix acls for the samba mapping on a linux/fuse zfs?

Is there a way to have ACLs for the samba clients, without posix acls support on the server filesystem?

Or is there another compressed filesystem (not read-only) for linux (debian) which supports the "same" acl mapped by samba?

Thank you!

Joao S Veiga

Last edited by jsveiga; 04-04-2012 at 10:22 AM.
 
Old 04-17-2012, 07:34 AM   #2
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
Hello:

No tried but have you tried with:
Quote:
- star http://linux.die.net/man/1/star
- smbtar (with -acl option) http://linux.die.net/man/1/smbtar
Regards
 
Old 04-17-2012, 07:39 AM   #3
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
I forget...

You say you are using rsync. And rsync also supports acl (http://linux.die.net/man/1/rsync)
Quote:
-A, --acls preserve ACLs (implies -p) [non-standard]
 
Old 04-17-2012, 04:05 PM   #4
jsveiga
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: debian on servers and embedded, kubuntu elsewhere
Posts: 31

Original Poster
Rep: Reputation: 1
Thank you Felipe, but star/smbtar do not create the transparent-for-the-end-user multiple historical copies as rsnapshot or my script or rsync (with the proper options) do.

For rsync -A to work, the filesystem to where it is writing the files has to support acls. What you suggested would work for an acl-supporting filesystem, but I want a compressed filesystem, and so far I could find none with posix acl support.

The script I use today compresses each modified file (tar-bz2) and sets the permissions/acls on the tarbz2 to the same as the original file (so that the end users can/cannot access the backups according to the original perms). I hardlink the tarbz2 of unmodified files of the previous-day to the current day backup (similar to rsnapshot). I'd like to ditch my script to use rsnapshot, but then I'd need much more disk space for the backup images, hence the need of a compresses filesystem with posix acl support.

(before someone asks: I use tarbz2 and not simply bz2 so I have the whole path/file perms stored in the compressed file too - easier to restore)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the check order for Posix ACL? HGeneAnthony Linux - Newbie 0 04-15-2006 01:16 AM
How can I enable Posix ACL in Debian HGeneAnthony Linux - Security 6 04-01-2006 07:15 PM
POSIX and ACL on folders BruceC Linux - Newbie 1 10-06-2005 02:23 PM
POSIX and ACL on folders BruceC Other *NIX 0 10-05-2005 01:57 PM
posix acl Ammad Linux - General 3 03-20-2005 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration