General :: Get Different Permission To Subdirectory Of A Share In Samba?

Jun 13, 2011

I would like to know how can I get permission to subdirectories of a share other than what main share has. I do not want them to have same share I mean for example I share "sharetest" and it has full access for A and B and C groups but "sharetest/foo1" has read only access for A group and "sharetest/foo2" has read only access for B group and "sharetest/foo3" has read only access for all of them.

View 1 Replies


ADVERTISEMENT

General :: Share A Folder In Samba With No Need Of User Password With Write Permission?

Jun 13, 2011

I would like to know how can I share a folder in samba with no need of user and password with write permission, with no need of using guest user.

View 3 Replies View Related

Server :: Samba Share Mounting Permission ?

Feb 2, 2010

I have created a samba share and mounted the share with /etc/fstab on another machine. This share is supposed to be a fully public share i.e. i have different share where different permissions are set but on this particular share i intend to have full read write and execute rights to all the users on my mounting machine.

The problem is that I get only owner and group rights for write on directories that i create due to which all my users can create files in my mount directory but when they create a folder they cannot create any file inside that folder.

View 4 Replies View Related

Ubuntu Networking :: Active Directory Samba Share Permission?

Feb 24, 2011

I'm having a problem with Active Directory and Share permissions that I cant seem to figure out. I used likewise-open to join my ubuntu server to a windows 2008 domain. Everything seems to be working fine. The problem is, the only way I can access the shares is if I CHMOD 777 the share directory. If I CHMOD 770, the Domain owner or Domain group member of the directory cant access the directory. Also, when creating a folder within the share, I need to set the directory mask as 777 in order to enter those sub folders.

Heres the share section from my smb.conf

Code:
[public]
comment = Ubuntu File Server Share
path = /srv/samba/public
browseable = yes

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Samba Windows Share - You Might Not Have Permission To Use This Network Resource

Jul 7, 2010

I cannot browse the samba printers from windows xp professional clients.

I get the following message when trying to access the workgroup:

Code: Example is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The list of servers for this workgroup is not currently available

Another strange thing is that if I set the workgroup to EXAMPLE in smb.conf, the workgroup shows up as Example on my windows clients.

View 4 Replies View Related

Ubuntu Networking :: Symbolic Links Deny Permission In Samba Share?

Oct 19, 2010

I have a Samba share that contains a symbolic link and when I try accessing it from the WinXP machine it denies permission. If I access it from the Linux account, it goes in with no problems. Is there a certain setting that needs to be set or enabled or is this just one of those things with Samba?

View 5 Replies View Related

General :: Copy Everything In A Subdirectory Across To The Relevant Subdirectory Elsewhere

Sep 16, 2011

At the moment I'm doing:

for i in mdx/[0-9][0-9].png; do cp $i ../../d_s_c/images/mdx ; done

But as well as the directory mdx, I also have other directories called ntt, etc.

How can I say 'For everything in a subdirectory, copy it across to the same subdirectory over at at ../../d_s_c/images'?

View 1 Replies View Related

General :: Unable To Set Permission For User To Access Share

Jan 21, 2010

I'm trying to access a share across the net. the share is a disk "fat32" which I mounted using "vfat users,rw,exec 0 0." However, after I created the samba user "smbpasswd -a user" I'm still unable to access the share across the net. ports are open, and entry has been made in smb.conf for share. But I'm having problems giving permission to smb user. the share it is mounted on /media/share, and I've tried everything from

chmod -R ug+rwx /media/share
chmod -R ugo+rwx /media/share
chown -R user /media/share
and I always get unable to set permission for user

View 1 Replies View Related

Ubuntu Networking :: Ubuntu Samba Seperate Subdirectory Permissions?

Jul 18, 2011

Okay so I decided to turn my NAS over from Windows Server 2003 to Ubuntu 11.04 Desktop. This was a big leap for me as I'm still quite new to Linux, but I thought it'd be worth it. I've got everything working pretty good such as Apache2, SSH and converting my disks to ext4.My problem however is Samba. I've got it to share out my hard drives okay but haven't got effective permissions just yet. All drives and the documents storage folder have write permissions by everyone at the moment but I'm the only one that really uses them in the LAN. What I need to do is be able to do what can be done on Windows Server, create a share, set who can access it (user or group) and then under Windows Explorer change folder permissions so say Elliot can access the share and folder Stuff but Sandra can access the share and not Stuff. Which is easy enough on Windows but I need the folders under that share to work the same with Samba. Here is how the drives are mounted and where the documents folder is located:

"Samba share name" at "mount/folder"
"datastore1" mounted at "/srv/ds1"
"datastore2" mounted at "/srv/ds2"

[code]....

View 7 Replies View Related

General :: Providing Permission To Specific User To Access NFS Share?

Oct 11, 2010

I have two machines between which I need to share a folder.On server1, I have the user 'appuser' that needs to access (read/write/delete) on this share.On server2, 'root' accesses this share and writes to it.I have the following in /etc/exports on server1:/home/app-share 999.999.99.99/28(rw,insecure,sync,no_root_squash)where the number is the IP address. How can I change this to allow 'appuser' access?

View 1 Replies View Related

General :: Samba Folder Permission With AD User

Jan 16, 2011

i have the one help. i will creata one samba server.access this samba file windows system. also domain user access this samba folder. but problem is how can set permissions AD User( Windows 2008 Server).

View 2 Replies View Related

General :: Get Samba Read + Execute Permission

Feb 20, 2010

i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file

[Code]....

View 1 Replies View Related

General :: The Files' Permission Of Samba Server?

Jan 19, 2010

Samba Server version 3.25 The share directory test , the user's permission will be :Users can copy files into the test directory bywindow's file exploer , and after copying userscan'tither delete that files nor recovery them.

View 3 Replies View Related

General :: Permission Denied To A Samba Server User

Jan 9, 2010

I have configured samba server.My requirement was that the path which i have to share was /srv/www/htdocs.With this the shared path for developer user was /srv/www/htdocs/projects.

So in the smb.conf file i made the entries as following:

After that root user was able login to both /srv/www/htdocs and also project folder and developer was only able to login to projects folder.That was according to my requirement but now the problem is that when developer is trying to edit any file in projects folder he is getting error that you dont have permissions to change this file.But developer should be able to edit any files. What changes i need to do now.

View 3 Replies View Related

General :: Change Default File Permission For Mounted Windows Network Share?

Jul 26, 2010

I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?

Maybe this question also applies for Linux mounting a Windows network share.

View 1 Replies View Related

General :: Set Permission Of File On Samba Network Drive From Windows?

Oct 14, 2010

I am accessing network drive (Z:stream) on windows. Now the permission set on stream folder is like chmod -R 777 streams/ means all the files inside stream is at 777 but now i am copying some files from windows to this streams folder but permission on those files are not 777 ,i would like to have permission 777 on those files that copied from windows ...how do i do that??

View 1 Replies View Related

Slackware :: SAMBA Share Option 'grayed Out' In The Share Dialog?

Mar 18, 2011

I am attempting to share a folder from an existing drive that has been formatted in NTFS. I simply right click on the folder, goto share, and I can see the option to share to UNIX and that works with no problems. My question is; why is the SAMBA sharing dialog grayed out?

View 1 Replies View Related

General :: Cannot See Files On A Samba Share...

Mar 19, 2010

Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-

I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.

The server recently crashed, so I need to get the data off the USB disk.

Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.

Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!

Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!

Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.

Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.

Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?

My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.

Thanks!

View 5 Replies View Related

General :: Can't Connect To Samba Share From Windows

Mar 9, 2011

I am setting up samba on my CentOS server for the first time. I am using webmin to configure samba. Here is the smb.conf

Code:

[global]
netbios name = KISKA
cups options = raw
load printers = yes
server string =

[code]...

I can see the domain name "KISKA" in the "network" tab of windows explorer, however when I click on it I get this error: Windows cannot access \KISKA check the spelling of the name. otherwise there might be a problem with your network. Under the details of this error I get this: "The network path was not found" Also I have stopped iptables so it cant be firewalled

View 5 Replies View Related

General :: Samba 3.2.5. PDC Authentication And Share - On Debian ?

Feb 16, 2010

I have a Debian 5.0 system, fresh install, updated with aptitude. Now i'm using vmware to test my system, but the 'real' system, is a small network with around 30 workstations connected in a cisco switch + router. So i test the configuration at home, and when it's working and done, i will copy it to the real network, because i don't want to mess it up

So i installed the newest samba to act as a PDC. You can read my configuration in the following lines:

Global Settings

Share Definitions

I added root with 'smbpasswd -a root' command. When I try to connect to the domain with a Windows XP, it says: ' The username cannot be found '

View 5 Replies View Related

General :: How To Access Samba Share From Both Fedora And XP

May 12, 2011

I installed samba server on fedora13 last week and share some files from samba server GUI. I also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP. When I open samba share from other fedora such as smb://192.168.10.2. I can see share file and when I browse folder, password required box is appeared but after I put samba username and password. The Error message is Unable to mount location Failed to mount Windows share. Even when I browsed samba share from windows xp.

Error message is \192.168.10.2smbshare is not accessible. You might not persioon to use this network resource. Contact the administrator. The network path was not found. How can I get access samba share from both fedora and XP that is what I installed on server:

[root@fedora2 mnt]# rpm -qa samba*
samba-winbind-clients-3.5.2-60.fc13.i686
samba-swat-3.5.8-74.fc13.i686
samba-client-3.5.8-74.fc13.i686
samba-3.5.8-74.fc13.i686
samba-common-3.5.8-74.fc13.i686

and here is my smb.conf file
# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2011/04/29 22:05:08

[global]
workgroup = workgroup
server string = Samba Server Version %v
security = user
guest account = youth
log file = /var/log/samba/log.%m
max log size = 50
guest ok = yes
cups options = raw
smb passwd file = /etc/samba/smbpasswd
;encrypt passwords = yes

[homes]
comment = for all users
read only = No
;browseable = yes
path = /home/aung/smbshare

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Public]
path = /home/aung/Public
read only = no
;browseable = yes
valid users = abrt, ftp, operator, youth, yu

[smbshare]
comment = personal share
path = /home/aung/smbshare
write list = yu
read only = no
;browseable = yes
valid users = youth

View 2 Replies View Related

General :: Setup A Samba Share Between Windows Xp And U11 In A Vm Player?

May 31, 2011

I am trying to mount a shared folder from windows xp to my ubuntu vm. It is running in vm player.

I installed samba with sudo apt-get smbclient smbfs

Next, I run smbclient -L computer_name_here and get the error NT_STATUS_LOGON_FAILURE. What am I doing wrong? How can I solve this?

View 1 Replies View Related

General :: Create A Samba Share For Lost + Found

Jun 6, 2010

If i create a samba share to one of my lost+found folders so i can copy stuff to somewhere else, will that cause a problem? I'm thinking not, but since its a special folder wanted to make sure.

View 6 Replies View Related

General :: Setup A Samba Share With RecycleBin Option?

May 19, 2011

I've setup a samba share with RecycleBin option. However, there is no cleanup and soon will saturate free space.

I'm trying to plan a command that each week clean the content of those dir or the directory itself.

The dir tree is like /home/ :user1
Dir1
Dir2
RecycleBin

[Code].....

To be careful to all possible situations I'm testing this line in directory with spaces in names. I know is ugly and ... and ... but users are just used to and they don't care about me And, having this line working for spaces I can use it for other situations other than shares.

File o directory non esistente = File or directory does not exist

View 3 Replies View Related

General :: Mount Remote Samba Share In Fstab?

Nov 19, 2009

Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip

Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..

//serverip/sharename /net smbfs username=x,password=x

After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.

View 3 Replies View Related

General :: Samba Cannot Share Files - Not Accessible By WinXP

Nov 21, 2010

I used Samba to share some files. But when I try to share /home/username/download, it is not accessible by WindowsXP. But when I modified the dir to /opt/*. It is OK.

View 2 Replies View Related

General :: Samba Share Not Permissions Not Automatically Added?

Jun 12, 2011

I have a samba shared folder in my flash disk. Yesterday I installed ubuntu 11.04 and now sharing is not working any more. I do the usual procedure (that worked so far), I right click my folder > sharing options and tick "share this folder" as well as "Allow others to create and delete files in this folder" but I dont get the usual messages asking to add permissions automatically.When I try to mount my folder in another pc with linux, I get permission denied and that the folder is only readable and in another, windows cannot find the network path to my folder.My folder has about 10.000 files. asking to add permissions automaticallyI created another folder on the same flash and when I create share I get the message asking to add permissions automatically but it is not visible either. I even cant see my folder in "my places" > network, so it is not a matter of the mounting command

View 1 Replies View Related

General :: Samba Windows Share \ Made 2 Users?

Jan 9, 2011

want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2

we change the smb.conf file
# less /etc/samba/smb.conf
[global]

[code]...

View 2 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

General :: Root Can't Chown Mount Point For Samba Share?

May 30, 2010

I have a samba share that I mount locally at boot through fstab. The share is writable and if I access the share directly, say with konqueror and smb (smb://hostname/sharename) then I can do anything I want (create, write, delete, edit, files/directories). I have a mount point on my local machine

Code:

/shares/mp3

and I (username dtest) was unable to do anything except read files and create directories trying to do them to the local mountpoint except as root. I figured it would be a matter of

Code:

chown -R dtest /shares/mp3

but I was unable to do that even as root, I kept getting permission denied. When I did

Code:

ls -alt /shares/ it told me the owner was 1000 and the group was root. Dtest was already a member of the root group and I was able to

Code:

chmod -R 774

as root but I still couldn't do anything except read and create directories directly via the mountpoint. Ultimately I solved this by changing the uid of user dtest via kuser and then just chowning my home directory back to dtest. It seems like as root I should be able to change the owner of the directory. I know it's because this is a samba share, but it doesn't make any sense why root couldn't just chown it. Is there another way to change the owner of a directory, or is this set by the machine hosting the samba share?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved