LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2010, 01:55 AM   #16
korbes
LQ Newbie
 
Registered: Jan 2010
Posts: 12

Original Poster
Rep: Reputation: 0

Ok thank you all guys for your reply. I think it is a permission problem too cause as root I am able to write to /windows/E.

Quote:
Originally Posted by ongte View Post
Not familiar with Suse, so I'm not sure what default_permissions means. But this definitely is a permission problem. Can you show us your fstab?

You might need to specify a umask here.

Also might help showing us the permission in the Windows partition.
this is the outcome of my fstab:
Code:
korbes@linux-b8pz:~> cat /etc/fstab
/dev/disk/by-id/ata-MAXTOR_STMkorbes@linux-b8pz:~> cat /etc/fstab
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part6 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part7 /home                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part2 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RJ02RLDA-part1 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
korbes@linux-b8pz:~>
380215AS_5QZ65BWL-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part6 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part7 /home                ext4       acl,user_xattr        1 2
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-MAXTOR_STM380215AS_5QZ65BWL-part2 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-Hitachi_HDP725050GLA360_GEA534RJ02RLDA-part1 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
korbes@linux-b8pz:~>
and this is the outcome of the permissions for windows/E:

Code:
korbes@linux-b8pz:~> ls -l /windows/E
total 112
drwxr-xr-x 1 root users  4096 2009-10-27 09:04 Backup PSP!!!
drwxr-xr-x 1 root users  4096 2010-01-18 05:37 Docs
drwxr-xr-x 1 root users 12288 2010-01-09 11:53 Films
-rw-r--r-- 1 root users     0 2010-01-27 07:41 foo
drwxr-xr-x 1 root users  4096 2009-11-17 10:54 Foto's
drwxr-xr-x 1 root users  4096 2009-11-26 10:13 Games
drwxr-xr-x 1 root users     0 2009-11-22 15:58 Linux
drwxr-xr-x 1 root users     0 2009-10-18 13:49 MSOCache
drwxr-xr-x 1 root users 65536 2010-01-09 11:16 Muziek
drwxr-xr-x 1 root users  8192 2009-12-26 11:20 Progjes
drwxr-xr-x 1 root users  4096 2010-01-18 15:18 $RECYCLE.BIN
drwxr-xr-x 1 root users     0 2009-03-10 15:11 Recycled
drwxr-xr-x 1 root users     0 2009-03-10 15:11 RECYCLER
drwxr-xr-x 1 root users  4096 2009-03-10 15:15 System Volume Information
drwxr-xr-x 1 root users  4096 2010-01-11 00:50 TEMP
korbes@linux-b8pz:~>
And remember guys I'm a newbie so I don't really understand uid and gid:
So please tell me what to do from here on?
 
Old 01-27-2010, 10:01 AM   #17
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can either add a "uid=<your_username>" option to change the owner of the mounted filesystem allowing you full access. Or you can change the value of the 2nd digit in the fmask and dmask options.
"fmask=113,dmask=002"
 
Old 01-27-2010, 11:39 AM   #18
vrmartin2
Member
 
Registered: Dec 2009
Location: NE Ohio
Distribution: Open SUSE
Posts: 43

Rep: Reputation: 19
Masking

Here are some places you can get more info about "masking" (umask, fmask, etc):

http://www.cyberciti.biz/tips/unders...lue-usage.html

http://bodhizazen.net/Tutorials/Understandingfstab.pdf

Last edited by vrmartin2; 01-27-2010 at 11:40 AM. Reason: spelling correction
 
  


Reply

Tags
fstab, mount, permissions, umask, umount


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a partition from Linux to Windows spartanz Linux - Newbie 2 12-19-2009 02:14 AM
Cannot create root partition on Windows 7 rcmonroig Linux - Newbie 5 11-12-2009 01:31 PM
create partition from linux where windows can be installeda sagsriv Linux - Newbie 1 03-24-2009 05:06 PM
unable to create or delete files on fat32 partition Barrett Linux - Newbie 9 12-21-2005 05:19 PM
How can I access files in my Windows 98 partition from my Linux partition, /w BASH? Fabyfakid Linux - Newbie 4 09-18-2004 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

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