LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2004, 06:25 PM   #1
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
No write permitions :(


OK i can now see my share in windows and linux under the usert exio. But i still do not have write permitions.

the share in smb:

[data]
comment = Nick's Service
path = /data/Data
read only = no
writable = yes
public = yes
write list = exio

Any ideas as to why i do not have wright permitions???

Cheers, Nick.
 
Old 05-13-2004, 07:22 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
probably /data/Data does not have write permissions for your samba user
 
Old 05-14-2004, 04:59 AM   #3
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
ok, do u know how to to allow access????
 
Old 05-14-2004, 08:19 PM   #4
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
the easiest test (though insecure) is to use chmod

chmod 777 /data/Data

allows full access to everyone
 
Old 05-15-2004, 07:33 AM   #5
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
hmm i really dont want every on the network to have full access!!!
 
Old 05-15-2004, 07:52 AM   #6
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
when i try and access the share in linux im loged on as exio
also when in windows im logen on as exio!!!!
 
Old 05-16-2004, 01:44 AM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
When you are logged onto the Linux machine with the user Exio, can you write to "/data/Data" (not through Samba, just on the local machine)?
 
Old 05-16-2004, 08:04 AM   #8
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
no i dont

exio@Server:/data/data$ rm -rf New\ Folder/
rm: cannot remove `New Folder//testdir.tmp': Read-only file system

fstab..
/dev/hdd5 /data vfat defaults,uid=1000 1 0

the file system is fat32, also what do '1 0' mean i have also tryed '0 0 & 1 1' un benone to what they do...

help
 
Old 05-16-2004, 05:10 PM   #9
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Original Poster
Rep: Reputation: 15
OK, i have sorted the write permition on the hdd itself, now i have write permitions to the share from windows but not linux.

here is the mount command i use to mount the
smbmount \\\\192.168.0.1\\data /home/exio/fileserver -o username=exio workgroup=sxpb

*****smb.cof*******
[global]

workgroup = SXPB
server string = Samba Server
log file = /var/log/samba.%m
max log size = 50
security = exio
encrypt passwords = yes
ssl CA certDir = /etc/ssl/certs
socket options = TCP_NODELAY
smb passwd file = /etc/samba/smbpasswd

[data]
comment = Nick's Service
path = /data/nick
read only = no
writable = yes
public = yes
write list = exio
********************8
i dont know if i need all them... e.g do i need 'read only' if i have 'writable' or 'public'...

any ideas y i do not have write permition under linux????

Manny Manny thanks, Nick.
 
  


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
Fat32 permitions jocast Linux - Software 10 01-05-2005 10:09 AM
File permitions jocast Linux - Networking 3 08-24-2004 10:16 PM
Mounting permitions / fstab Exio Linux - Hardware 1 05-18-2004 05:56 PM
change permitions rootbryan Linux - Software 1 09-13-2003 11:40 PM
Permitions to groups dtournas Linux - Newbie 5 08-29-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:51 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