
Re: Cannot mount NTFS with the Sticky bit
Hi,
Quote:
Would you pls give me some hints on how to enable the sticky bit on mounted partition?
You have to mount with the permissions option or define a user mapping file (see
http://www.tuxera.com/community/ntfs-3g ... nd-permis$For example, you can mount with :
Code:
ntfs-3g -o permissions /dev/sdb1 /DATA
With this option set, do not pollute your real files unless you understand the consequences, only create temporary files or directories. In particular, you can create a subdirectory and make it sticky :
Code:
[root@dimension linux]# mkdir sticky
[root@dimension linux]# ls -ld sticky
drwxr-xr-x 1 root root 0 Apr 7 18:17 sticky
[root@dimension linux]# chmod 1755 sticky
[root@dimension linux]# ls -ld sticky
drwxr-xr-t 1 root root 0 Apr 7 18:17 sticky
Notice the final 't' in "drwxr-xr-t" meaning the directory was made sticky.
Regards
Jean-Pierre