LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-20-2005, 06:17 PM   #1
morphodone
Member
 
Registered: Nov 2003
Location: Texas, USA
Distribution: Ubuntu 7.04
Posts: 44

Rep: Reputation: 15
Question umask options


well after some reading i have a question about the umask option.

it seems that when invoking umask for ntfs mounts in fstab, there is an extra digit...

example:
/dev/sda1 /mnt/windows ntfs umask=0222 0 0

whereas all other umask options i have found are

umask=XXX

versus

umask=YXXX.

am i just crazy or is this true?
 
Old 04-20-2005, 06:21 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
It's for things like sticky bit, suid and such.. it should explain this in the chmod man page
 
Old 04-20-2005, 06:27 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
It's true, but for all I know you may well be crazy

I would imagine you can use four-bit umasks for other filesystems too (though I don't know). You can always just use a three-bit mask if you want to (on that two-bit ntfs filesystem )
 
Old 04-20-2005, 09:05 PM   #4
morphodone
Member
 
Registered: Nov 2003
Location: Texas, USA
Distribution: Ubuntu 7.04
Posts: 44

Original Poster
Rep: Reputation: 15
thanks for the replies,

it was odd to me because most of the info i see about
umask etc. refers to 3 digits only.

come to think of it, maybe i should just format that filesystem anyway.
of course then i wouldn't be able to boot into my other os
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Umask Randvegeta Linux - Software 3 11-27-2009 07:52 AM
Umask metallica1973 Linux - Software 4 11-27-2005 01:21 PM
umask help glabiche Linux - Security 1 06-07-2005 08:20 AM
VSFTPD Umask options and ownership dkrysak Linux - Software 0 09-10-2004 07:30 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:32 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