Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok that's it, I've hunted thru the forums and viewed god knows how any Samba issues threads and all to no avail.
I've got a SuSE 9.0 Pro box running Samba, I can see the shares on my Windoze machines just fine, browse the contents no prob I just can't figure out how to change permissions to allow writing from the Windoze machines.
The share I'm most interested in is a second HD as hdb1 under /colossalfiles, that went ok, no problems there, got Samba to share it, I just can't write to it from Windoze.I know this may have been covered countless times before but I couldn't find anything that proved useful. I'm not really a software guy, trying to learn this Linux thing, im quite determined actually to lose my Windoze dependancy(even attended a Windoze Anonymous meeting, that went well too!)
Anyway down to business, here's my smb.conf file, any and all input into this issue of mine would be greatly appreciated by an intelligent, under-educated but trying my damndest Linux rookie.(musn't use that forsaken "Noob" word.
[global]
workgroup = MSHOME
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = share
server string = Braian's Linux Bitch
interfaces = 192.168.0.0/255.255.255.0
add user script =
domain master = false
domain logons = no
local master = no
preferred master = auto
;; ldap server = 127.0.0.1
[homes]
comment = Home Directories
valid users = %S
browseable = yes
read only = No
create mask = 0640
directory mask = 0750
guest ok = yes
printable = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no
[colossalfiles]
comment = Network Storage
path = /colossalfiles
public = yes
only guests = yes
writable = yes
printable = no
create mask = 0000
I've tried writing from Windoze machine under colossus, the same user as I'm trying to get write perm.
I've even tried changing ownership of the directory while under root, but it says i don't have sufficient access to files to do so.
i hope i did this right, but here
drwxr-xr-x 8 root root 8192 1969-12-31 18:00 .
drwxr-xr-x 21 root root 496 2004-08-12 02:29 ..
drwxr-xr-x 19 root root 8192 2004-08-12 01:39 Braian's Folder
drwxr-xr-x 19 root root 16384 2004-08-12 01:30 ColossalFiles.com
drwxr-xr-x 7 root root 8192 2004-08-05 04:40 Command and Conquer Generals Zero Hour Data
drwxr-xr-x 10 root root 8192 2004-08-05 04:58 Downloads
-rwxr-xr-x 1 root root 248517 2004-08-05 04:52 explodegreen.jpg
-rwxr-xr-x 1 root root 153827 2004-08-05 04:52 explodegrey.jpg
-rwxr-xr-x 1 root root 96155 2004-08-05 04:52 explode.jpg
-rwxr-xr-x 1 root root 214320 2004-08-05 04:52 explodeprple.jpg
-rwxr-xr-x 1 root root 211469 2004-08-05 04:52 explodered.jpg
-rwxr-xr-x 1 root root 260977 2004-08-05 04:52 explodeyellow.jpg
drwxr-xr-x 6 root root 8192 2004-08-05 04:51 Favorites
drwxr-xr-x 4 root root 8192 2004-08-05 02:15 InterVideo
colossus@linux:/colossalfiles>
I've tried right clicking on the directory and checking the write permission boxes but the changes never stick
forgive but I'm am really a Linux rookie, am really new to the whole command thing and still learning how to navigate thru stuff.
Last edited by Colossus610; 08-12-2004 at 04:57 PM.
If you are connecting as the user colossus then the files need to be writeable by colossus - the easiest way to change this would be:
chown -R colossus /colossalfiles
If you run the ls command after that you should see that the owner has changed to colossus
Under colossus or even root it scrolled thru each file trying to change permisions then for each said operation not permitted.
I think I may need to get one of those "Linux for dummies" books.
But I am determined to crack this Linux thing and thereto crack my Windoze crutch.
I dont think I should even say "crack" this Linux thing, I've had no issues but this permissions thing, other than that I've enjoyed the new experience and look forward to trying other distros.
Last edited by Colossus610; 08-12-2004 at 05:23 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.