Results 1 to 4 of 4
Hello to all,
First I would like to mount usb pen drive to /mnt/usb.
For that I use the command like "mount /dev/sda1 /mnt/usb"
It gives the permission like
"drwxr-xr-x ...
- 09-15-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 13
chmod can not change permission
Hello to all,
First I would like to mount usb pen drive to /mnt/usb.
For that I use the command like "mount /dev/sda1 /mnt/usb"
It gives the permission like
"drwxr-xr-x 10 root root 16384 Jan 1 1970 /mnt/usb"
But I want that no user other than root user can use it.
for that I use comman like "chmod 0700 /mnt/usb"
But It gives error like
"chmod: changing permissions of `/mnt/usb/' (requested: 0700, actual: 0755): Operation not permitted"
I have done all these procedures as root user.
I have problem like this in Redhat 9 and RHEL3.
So what should be solution of my problem ?
Please help me if possible.
Any good reply is apprecialble.
Thanking You in advance.
- 09-15-2007 #2
- 09-18-2007 #3
I think you need to set the umask to 077 when you mount
Use this link:
mount()
I am assuming your USB drive is using the FAT filesystem so if you search for "Mount options for fat" at that link it should answer your question.
- 09-20-2007 #4Just Joined!
- Join Date
- Nov 2006
- Posts
- 13


Reply With Quote
