LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-14-2010, 06:48 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 14.1, Archlinux
Posts: 268
Blog Entries: 10

Rep: Reputation: 32
Unhappy JFS and ACL


I use only ext3 at work, and mount the partitions with acl, which lets me fine tune my security.

I've used jfs at home for a while, and recently, I decided to use some access lists too. So, I tried to do the same things I do at work (that includes options {defaults,acl} for /home at fstab. After that, Slack does not let me access my home at boot time. I believe I read somewhere that jfs did not support initially acl but at some point on the development acl became one of its regular features.

What am I missing here? How to implement acl on jfs?

Thanks for reading this.
 
Old 11-15-2010, 04:35 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
JFS does support ACL, it is this kernel option:

Code:
  ┌──────────────────── JFS POSIX Access Control Lists ─────────────────────┐
  │ CONFIG_JFS_POSIX_ACL:                                                   │  
  │                                                                         │  
  │ Posix Access Control Lists (ACLs) support permissions for users and     │  
  │ groups beyond the owner/group/world scheme.                             │  
  │                                                                         │  
  │ To learn more about Access Control Lists, visit the Posix ACLs for      │  
  │ Linux website <http://acl.bestbits.at/>.                                │  
  │                                                                         │  
  │ If you don't know what Access Control Lists are, say N                  │  
  │                                                                         │  
  │ Symbol: JFS_POSIX_ACL [=n]                                              │  
  │ Prompt: JFS POSIX Access Control Lists                                  │  
  │   Defined at fs/jfs/Kconfig:11                                          │  
  │   Depends on: BLOCK [=y] && JFS_FS [=y]                                 │  
  │   Location:                                                             │  
  │     -> File systems                                                     │  
  │       -> JFS filesystem support (JFS_FS [=y])                           │  
  │   Selects: FS_POSIX_ACL [=y]                                            │
So run:

Code:
bash-4.1$ zgrep CONFIG_JFS_POSIX_ACL /proc/config.gz 
# CONFIG_JFS_POSIX_ACL is not set
For me it is not set, but you should set it if it is not set and recompile the kernel. It also depends on what kernel you are using, it may already be set.
 
1 members found this post helpful.
Old 11-16-2010, 07:38 AM   #3
xri
Member
 
Registered: Aug 2002
Distribution: Slackware 14.1, Archlinux
Posts: 268
Blog Entries: 10

Original Poster
Rep: Reputation: 32
Thank you, H_TeXMeX_H
I've got the vanilla slack kernel:

# uname -r
Quote:
2.6.33.4
# zgrep CONFIG_JFS_POSIX_ACL /proc/config.gz
Quote:
CONFIG_JFS_POSIX_ACL=y
 
Old 11-16-2010, 01:47 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Ok, that's good, now just make sure ACL is setup properly:
http://nxlinuxadmin.blogspot.com/201...-in-linux.html
 
1 members found this post helpful.
  


Reply

Tags
acl, jfs, permissions, security


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to check JFS disks (fsck.jfs) at every boots using tune2fs like tool? frenchn00b Linux - General 5 05-21-2010 11:49 AM
JFS filesystem parisa_kian Fedora 4 02-01-2009 05:49 AM
iptables acl versus cisco acl id_viorel Linux - Security 1 04-09-2008 05:00 AM
JFS Question xor Suse/Novell 2 05-07-2007 03:26 PM
Filesystemquestion - JFS crashmeister Linux - General 0 02-20-2003 04:55 AM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration