OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Cannot Change Samba.conf?
Howard Roark
post Apr 14 2005, 07:57 AM
Post #1





Group: Members
Posts: 63
Joined: 3-April 05
Member No.: 6,778



I am trying to edit samba.conf but when I try to save it (or even rename and save) I am denied permission to do that. I have tried a few things to change permissions to save it but nothing seems to have worked.

What do I have to do to save an edited *.conf file?
Go to the top of the page
 
+Quote Post
slackwaresupport
post Apr 14 2005, 10:43 AM
Post #2





Group: Members
Posts: 91
Joined: 4-January 05
Member No.: 6,114



su
Go to the top of the page
 
+Quote Post
Howard Roark
post Apr 14 2005, 11:04 AM
Post #3





Group: Members
Posts: 63
Joined: 3-April 05
Member No.: 6,778



is it also necessary to do a 'chmod 666' to ensure full access?
Go to the top of the page
 
+Quote Post
wiredog
post Apr 15 2005, 04:50 AM
Post #4





Group: Members
Posts: 45
Joined: 17-March 05
Member No.: 6,652



Look at this for Samba on the Z instructions.
Go to the top of the page
 
+Quote Post
bluedevils
post Apr 15 2005, 05:51 AM
Post #5





Group: Members
Posts: 1,284
Joined: 31-January 04
From: Vancouver, BC -> NYC, NY
Member No.: 1,633



Generally speaking you rarely should chmod 666. If you're granting access to a user's home directory (zaurus), then the user should own what's in his home directory already. Granting whole access to Z is not recommended, but if you had to then you will have to share using root's access. It is not good to change permissions on system files (and some you won't be able to).
Go to the top of the page
 
+Quote Post
kenko
post Feb 27 2006, 08:41 PM
Post #6





Group: Members
Posts: 20
Joined: 16-February 06
Member No.: 9,145



I have the same problem. Can't edit the samba.conf. Even i'm su I can't wq on vi. I want to make the modification so that I can samba wirelessly. Is it on permission OR the samba.conf busy?
Go to the top of the page
 
+Quote Post
tombraider
post Feb 28 2006, 06:12 AM
Post #7





Group: Members
Posts: 409
Joined: 23-November 04
From: Murphy, North Carolina USA
Member No.: 5,590



I ALWAYS have problems like this with the Zaurus...drives me batty. I usually wind up doing the following in Advanced File Manager, but you can do it in any Explorer-type app for the Z:

1. Copy the original file to your cf or sd card where you can find it if necessary.
2. Rename the file you want to change in its original location on the Z to samba.conf.txt.
3. Edit the file and save it.
4. Delete the samba.conf file in its original location (be sure you have a backup copy of it somewhere first)
4. Rename the samba.conf.txt to samba.conf in the original location of the old samba.conf file.

I do all of this in a gui environment.

HTH

QUOTE(kenko @ Feb 28 2006, 04:41 AM)
I have the same problem. Can't edit the samba.conf. Even i'm su I can't wq on vi. I want to make the modification so that I can samba wirelessly. Is it on permission OR the samba.conf busy?
*
Go to the top of the page
 
+Quote Post
kenko
post Mar 12 2006, 10:16 PM
Post #8





Group: Members
Posts: 20
Joined: 16-February 06
Member No.: 9,145



Still can't rename or edit the samba.conf file.

It's under /usr/lib.rom/samba, is it a "Read-only file system"? So even I login as su still can't change anything?
Go to the top of the page
 
+Quote Post
Meanie
post Mar 12 2006, 10:28 PM
Post #9





Group: Members
Posts: 2,803
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(kenko @ Mar 13 2006, 04:16 PM)
Still can't rename or edit the samba.conf file.

It's under /usr/lib.rom/samba, is it a "Read-only file system"? So even I login as su still can't change anything?
*


This is a recurring problem. The file is on a RO filesys, so what you need to do is

1. break the symlink to the RO filesys, ie rm smb.conf
2. copy the file from the RO filesys to the expected location.
3. change the permision of the file to rw
4. edit the file
Go to the top of the page
 
+Quote Post
kenko
post Mar 12 2006, 11:56 PM
Post #10





Group: Members
Posts: 20
Joined: 16-February 06
Member No.: 9,145



This is it! Thanks Meanie.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st January 2020 - 03:00 AM