[ubuntu-users] Second of several questions

Rich Rudnick rich at aphroneo.net
Thu Apr 3 22:33:38 UTC 2008


Ted Hilts wrote:
> Rich Rudnick wrote:
>> 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
>>
>>   
> Rich Rudnick
> Did not work, in fact nothing changed. The same user and permission 
> settings remain and were not altered in any way by putting the changes 
> you suggested into /etc/fstab. At least there was no change in the mount 
> command based on the changes you suggested in the /etc/fstab file.
> 
> I used "sudo gedit /etc/fstab" to make the changes.
> I used the mount command to examine the outcome.
> I used "sudo gedit /etc/fstab" to return the original settings.
> 

Ted,

What mount command did you use?  You should only have had to say

sudo mount /media/sde1

since the options for the mount command would be found in the altered fstab.

Rich




More information about the ubuntu-users mailing list