[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Access to Windows partition



>From Piero on Wednesday, 2003-06-18 at 12:39:06 -0700:
> I mounted my hard disk's windows partition (fat32) with "gid=winusers" 
> (the group to which I belong) and umask=113 as options. Correctly the 
> directory /windows ant its subdirectories had uid 0 (default), gid 
> winusers, and permissions "rw-rw-r--".
> Nevertheless, when I tried to do "ls -l /windows" or "cd /windows" under 
> my own logname, I got the message "permission denied". I could do such 
> operations (at least "ls -l") logging as root.
-------------------------------

conrad@siisu:~$ mkdir tmp
conrad@siisu:~$ touch tmp/test1
conrad@siisu:~$ ls tmp
test1
conrad@siisu:~$ ls -ld tmp
drwxr-xr-x    2 conrad   conrad         72 Jun 18 16:21 tmp
conrad@siisu:~$ chmod 664 tmp
conrad@siisu:~$ ls -ld tmp
drw-rw-r--    2 conrad   conrad         72 Jun 18 16:21 tmp
conrad@siisu:~$ touch tmp/test2
touch: creating `tmp/test2': Permission denied
conrad@siisu:~$ ls -l tmp
ls: tmp/test1: Permission denied
total 0
conrad@siisu:~$ chmod 755 tmp
conrad@siisu:~$ ls -l tmp
total 0
-rw-r--r--    1 conrad   conrad          0 Jun 18 16:21 test1

-------------------------------
> Is it normal?

I think the above example explains your problem.

Conrad



Reply to: