[ubuntu-users] Second of several questions

Rich Rudnick rich at aphroneo.net
Thu Apr 3 20:52:24 UTC 2008


Ted Hilts wrote:

> 
> My problem is the ntfs hard drives.  Anything I store on them under 
> Ubuntu operations looks like:
> -rwxrwx--- 2 root plugdev   371386 2006-07-08 22:18 xinha-latest.zip
> 
> "
> When I do the mount command this is what I get:
> 
> /dev/sde1 on /media/sde1 type fuseblk 
> (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
> 

If it's true that the way the ntfs partition mounting is the issue, then 
you should change the mounting options.

For example, you could put the following in /etc/fstab

/dev/sde1 /media/sde1 defaults,gid=ted,uid=ted,umask=007 0 1

and then ted would be the owner. It would be

-rwxrwx--- 2 ted ted   371386 2006-07-08 22:18 xinha-latest.zip

and you could share them as the ted user.

Alternatively, you could simply change the umask, giving all 
read/write/execute rights:

/dev/sde1 /media/sde1 defaults,gid=046,umask=000 0 1

and then it would be read/writeable by any user.

-rwxrwxrwx 2 root plugdev   371386 2006-07-08 22:18 xinha-latest.zip

I hope this helps




More information about the ubuntu-users mailing list