LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-05-2009, 07:14 AM   #1
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Rep: Reputation: 16
Default user cant write on NTFS-3g SuSE 11.1


Hi all .. I am using SuSE 11.1 only root User can write on NTFS partitions other local or domain users can't write on them .. does any 1 have a solution for that ..
Another question please .. I am joined to a windows domain .. but my PC is always hidden in the network .. how can I make it Visible to other users? Thanks
 
Old 01-05-2009, 10:16 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,118

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Quote:
root User can write on NTFS partitions
What directory permissions do you have set on the mount point? To find out, use the command 'ls -ld /mountpointdirectory' you have to use the your path, and the command without the quotes. Post the contents, my guess is root owns the mount point, and is group root. Your users will not belong to either. Once again a guess, I suspect you will see something like this -

Quote:
ls -ld /mnt
drwxr-xr-x 6 root root 4096 2008-08-05 10:54 /mnt/
First character tells you it is a directory, root can read/write/execute group and other are read and execute only.

Quote:
Another question please .. I am joined to a windows domain .. but my PC is always hidden in the network .. how can I make it Visible to other users? Thanks
Are you running a Samba server on your system?

When you say it is not visible, can you ping your system from a windoze machine?

Any other protocol you are trying to get working???
 
Old 01-06-2009, 01:02 AM   #3
tomslick
LQ Newbie
 
Registered: May 2003
Posts: 25

Rep: Reputation: 18
Quote:
Originally Posted by ahmed_as8 View Post
I am joined to a windows domain .. but my PC is always hidden in the network .. how can I make it Visible to other users? Thanks
Open Yast --> System --> /etc/sysconfig Editor --> Network --> Firewall --> SuseFirewall2 --> + (expand) --> then locate the entries in the list below. You'll find them in the left hand column of the GUI. Change them using the right hand column of the GUI to include the settings in the list below:

* FW_DEV_EXT <--entry--> any eth-id-00:13:d4:fe:36:59 modem0
[notice I've fire walled "any" device not listed, the ethernet card and my modem.]

* FW_SERVICES_EXT_TCP <--entry--> 135 139 515 631

* FW_SERVICES_EXT_UDP <--entry--> 137 138 515 631

* FW_ALLOW_FW_BROADCAST_EXT <--entry--> yes
[This enables broadcasts from Samba Server.]

* FW_TRUSTED_NETS <--entry--> 192.168.1.0/24
[This allows the Lan through. NB: substitute your IP range for mine.]

Note you can find the card name, like e.g. eth-id-00:13:d4:fe:36:59 or like e.g. wlan-bus-usb in Yast --> Network devices/network cards.

At this stage you can switch the firewall on using Yast --> Security and Users --> Firewall --> Start/stop/save-and-start firewall.

Last edited by tomslick; 01-06-2009 at 01:06 AM.
 
Old 01-06-2009, 01:15 AM   #4
tomslick
LQ Newbie
 
Registered: May 2003
Posts: 25

Rep: Reputation: 18
Quote:
Originally Posted by ahmed_as8 View Post
Hi all .. I am using SuSE 11.1 only root User can write on NTFS partitions other local or domain users can't write on them .. does any 1 have a solution for that ..
install ntfs-config throught yast
Enable/disable write support for NTFS with a simple click.
works with internal or external drives
once installed run with this command "/usr/sbin/ntfs-config-root"

Quote:
ntfs-config - Enable and disable write support for NTFS partitions

Add write support for all your NTFS partitions and external USB and Firewire drives which have NTFS partitions with this tool.
It will configure them to use the open source driver ntfs-3g that allow full read/write capability, but it can also unmount them again and remount them with the read-only kernel driver when checkbox for selecting read-write support is unchecked.
 
Old 01-06-2009, 01:15 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You mentioned other local users and domain users. Why do you use NTFS in Linux. You don't need to, for windows network users to access shares on a Samba server. Use a native filesystem instead, unless the system dual boots with Windows.

For other users to have access, A) the directory being shared needs to allow access B) Samba must allow it C) If a samba share is mounted, the file_mode and dir_mode options need to allow it.

Public shares are usually created with the same permissions as the /tmp directory. "sudo chmod=rwxt /directory/to/share"
 
Old 01-06-2009, 07:53 AM   #6
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Another question please .. I am joined to a windows domain .. but my PC is always hidden in the network .. how can I make it Visible to other users? Thanks
Are you running a Samba server on your system?
No Samba-client only

When you say it is not visible, can you ping your system from a windoze machine?
I cannot ping my computer from anyother windows machine

Any other protocol you are trying to get working???
I didn't try.

I can see all users on network but no one can connect me
 
Old 01-06-2009, 07:55 AM   #7
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Thanks tomslick it works :-)
 
Old 01-06-2009, 10:19 AM   #8
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,118

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Quote:
Are you running a Samba server on your system?
No Samba-client only
You will need to install and configure Samba to have your shares seen by other network user.

Quote:
I cannot ping my computer from anyother windows machine
This has to be fixed before samba will work with the other systems on the network. Firewall on the linux system maybe???
 
Old 01-07-2009, 07:04 AM   #9
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by camorri View Post
You will need to install and configure Samba to have your shares seen by other network user.

This has to be fixed before samba will work with the other systems on the network. Firewall on the linux system maybe???
:/ am disabling Firewall !!
 
Old 01-08-2009, 06:02 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Quote:
Quote:
Another question please .. I am joined to a windows domain .. but my PC is always hidden in the network .. how can I make it Visible to other users? Thanks
Are you running a Samba server on your system?
No Samba-client only
To offer shares you need to install and run the samba server. You are providing conflicting information.
---

For samba browsing to work, you may need to enable samba broadcasts. This is more true to be visible to other Linux machines, or NT/Windows 98 clients. Otherwise tcp/445 may be used exclusively.

Run "kdesu yast2 firewall" to the firewall wizard.
Select "broadcast" in the left hand pane.
Click on "Add" on the bottom of the right hand pane.
Select the zone. "Internal" I presume.
Select "Samba Browsing" in the drop down selector.
Consider entering your subnet on the right.

In the allowed services, make sure that the internal zone has "Samba Server" selected.

---

If you mentioned whether this computer is dual booting with windows, I missed it. If it isn't don't use NTFS. That is a windows filesystem, not a Linux one. If it is an external drive you sometimes connect to windows, then it is OK. Otherwise use a linux filesystem. Linux can't repair an NTFS partition. Also, NTFS doesn't support Linux permissions and attributes. These are needed in Linux and for Samba. For example, if different users are allowed to write to the share, then you need to set the "sticky" bit to prevent one user from deleting another users files.
 
Old 01-13-2009, 06:16 AM   #11
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jschiwal View Post
To offer shares you need to install and run the samba server. You are providing conflicting information.
---

For samba browsing to work, you may need to enable samba broadcasts. This is more true to be visible to other Linux machines, or NT/Windows 98 clients. Otherwise tcp/445 may be used exclusively.

Run "kdesu yast2 firewall" to the firewall wizard.
Select "broadcast" in the left hand pane.
Click on "Add" on the bottom of the right hand pane.
Select the zone. "Internal" I presume.
Select "Samba Browsing" in the drop down selector.
Consider entering your subnet on the right.

In the allowed services, make sure that the internal zone has "Samba Server" selected.

---

If you mentioned whether this computer is dual booting with windows, I missed it. If it isn't don't use NTFS. That is a windows filesystem, not a Linux one. If it is an external drive you sometimes connect to windows, then it is OK. Otherwise use a linux filesystem. Linux can't repair an NTFS partition. Also, NTFS doesn't support Linux permissions and attributes. These are needed in Linux and for Samba. For example, if different users are allowed to write to the share, then you need to set the "sticky" bit to prevent one user from deleting another users files.
Thanks it worked :-) but only when i Disable my firewall .. 1 last Question please .. my computer name appears with name (Samba 3.2.6-0.3.1-2042-SUSE-CODE11) John Smith "Computer name" .. Cant i remove this comment of (Samba 3.2.6-0.3.1-2042-SUSE-CODE11) .. Thanks Alot.
 
Old 01-25-2009, 10:25 PM   #12
AnakiMana
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by ahmed_as8 View Post
Thanks it worked :-) but only when i Disable my firewall .. 1 last Question please .. my computer name appears with name (Samba 3.2.6-0.3.1-2042-SUSE-CODE11) John Smith "Computer name" .. Cant i remove this comment of (Samba 3.2.6-0.3.1-2042-SUSE-CODE11) .. Thanks Alot.
I'm trying to find the same answer. In WinXP this long string shows up in the mapped drive description. Vista mapped drives don't show it, strangely enough. Anyone know the answer?
 
  


Reply


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
LXer: How To Enable NTFS Write Support (ntfs-3g) On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 09-11-2007 09:20 PM
LXer: How To Enable NTFS Write Support (ntfs-3g) On Mandriva 2007 Spring LXer Syndicated Linux News 0 09-05-2007 06:30 PM
change Default User to a different group Suse 10.1 ahchewyy SUSE / openSUSE 2 01-16-2007 11:21 AM
how does suse write to NTFS? disorderly SUSE / openSUSE 2 11-03-2005 01:02 PM
SuSE resds NTFS by default on install? TazLinux Linux - General 1 06-09-2003 04:55 PM


All times are GMT -5. The time now is 10:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration