HAL을 사용하면 USB같은 외부 장치들을 자동으로 마운트가 되기 때문에 상당히 편리합니다.
하지만 USB를 꽂으니 장치 인식은 되는데 사용할 수가 없더군요.
일반 유저에게 권한이 없습니다. 루트로만 읽을 수 있더라구요.
/etc/PolicyKit/PolicyKit.conf 파일을 수정합니다.
기본적으로 아치리눅스에는 파일은 존재하지만 내용은 없더군요.
아래와 같이 수정해 주면 일반 유저도 자동마운트가 가능해집니다.
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options">
<return result="yes" />
</match>
</config>
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->
<config version="0.1">
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options">
<return result="yes" />
</match>
</config>
'♪ 아치리눅스' 카테고리의 다른 글
심심해서 만들어 본 Archlinux 한글 로고 (1) | 2009.12.27 |
---|---|
Xcursor 테마 어떤것을 사용하시나요? (0) | 2009.12.27 |
플래시에서 한글이 된다? (2) | 2009.12.21 |
재즈리포 업데이트 소식입니다. (4) | 2009.09.09 |
재생중인 곡 정보를 뿌려주는 Pidgimpd (0) | 2009.05.28 |
제 fonts.conf 파일입니다. (2) | 2009.02.26 |
아치리눅스 개인 저장소 [jazzbug] (4) | 2009.02.20 |
/usr/bin/perl^M: bad interpreter: No such file or directory (0) | 2009.01.29 |