Ubuntu Networking :: Losing Permissions On Samba Mount Points?

Jul 8, 2011

I have an Ubuntu 11.04 laptop that I use to connect to a Windows 7 server. Everything was working fine until the hard drive on the server crashed and it was replaced with a backup. Now I intermittently lose access to the shares with Nautilus giving me the following message:

"The folder contents could not be displayed.You do not have the permissions necessary to view the contents of Folder"

When I look at the mount points in terminal I see the following:

drwxr-xr-x 5 root root 4096 2011-07-08 13:12 .
drwxr-xr-x 23 root root 4096 2011-05-03 11:17 ..
d????????? ? ? ? ? ? Folder

Where Folder is the mount point.My fstab looks like this, although I must point out that I have tried virtually every possible permutation with no change.

//10.35.1.110/Share /media/Folder cifs rw,_netdev,iocharset=utf8,credentials=/root/smb/credentials,uid=1000,gid=1000,noperm,file_mode=077 7,dir_mode=0777,sign 0 0

Sometimes the permissions will revert back by themselves, sometimes I need to umount and mount to get back in.I have tried deleting and recreating the mount points. No change.It is driving me up the wall, I have tried everything I can think of, installing/uninstalling winbind, the fuse modules etc etc. I use this machine as a production machine in a heterogeneous environment and everything works awesomely except for this. I love Ubuntu, I can't even think of booting Windoze these days but not being able to access the network shares is a right show-stopper for me.

View 9 Replies


ADVERTISEMENT

Ubuntu :: Permissions Of Mount Points For Automounted Devices

Jan 14, 2010

Ubuntu 9.10. I have a problem - when I mount other partitions of my hdd or the system automounts usb disks these are mounted in /media directory with permissions 0700. So there are two problems there:
- When I switch user on my desktop to another that user can't read data from the usb disks
- I can't share data through network because smbd doesnot have read permissions on the created mount points

I think editing /etc/fstab is wrong way, there would be more right way to change permissions on mount point. I tried to change/add parameters umask, allow_other in gconf-editor (/system/storage/default_options, subsections vfat and ntfs-3g) but that does not show any results. Article [URL] recommends Open Places → Computer. Every volume except the generic File system one should have a Drive and Volume tab in its properties dialog where you can set mount options. But I did not find those tabs. Where should I set option to mount usb disks with permissions rwx for every user of my system?

View 9 Replies View Related

Ubuntu :: Mount Single Directory To Multiple Mount Points

Jan 27, 2011

I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?

View 9 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

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

Ubuntu Networking :: Can't Get Permissions In Samba Share?

Jun 6, 2010

When I create a new folder on my ubuntu machine and share it with my windows 7 machine using 'net usershare add <dir> <path>', I can't get write perms in Win 7. It keeps giving me a "You need permission to perform this action'. I've chmod the folder to 777 but still no luck.

The funny thing is, it was all working fine until I tried to add a new usershare yesterday (Can't think what I've changed). I use this sharing method to share all of my development /var/www/ folders so I can work on them from my win machine.

I have had a few problems with my samba smb.conf, and it nuked and rebuilt yesterday. I'm fairly new to the Linux game, and this permissions problem has me baffled.

View 1 Replies View Related

General :: Why Do I Keep Losing Full Permissions

Apr 24, 2011

I am currently running Ubuntu Studio (a variant of Ubuntu 10.10), dual-booted with Windows 7. For convenience's sake, I have three partitions - one for 7, one for Ubuntu, and a third shared partition, for all of my non-OS-specific media, documents and programs. I am using RhythmBox Media Player, and have it pointed at a folder on the shared partition as a music library.

However, every time I boot, I have to re-mount the shared partition, which requires re-entering my login password. In a similar vein, when I'm installing programs in terminal (doing 'sudo apt-get install [x]'), I have to re-enter my password each time I do a sudo command. Is there any way to keep super-user permissions until I choose to drop them myself? Better yet, can I make it so that logging in as the admin account automatically instates super-user privileges?

View 18 Replies View Related

Ubuntu Networking :: Samba Share With Differing Permissions?

Sep 9, 2010

what I am trying achieve is read/write access for my MS domain account and read-only access for everyone else. In smb.conf I have this:

Code:

map to guest = bad user
usershare allow guests = yes
username map = /etc/samba/smbusers

[code].....

I can access this fine with my MS domain account, what I can't work out is how to give others read-only access to the same share. I guess I could create a second share for the same folder with a different name and permissions, but that seems a bit clunky and I'd have to remember to pass on a different name to the one I am using. I also tried using the Nautilus right-click "Sharing options" and then setting the folder permissions. This works fine for giving others read-only access, but loses capitalisation of the share name and doesn't seem to recognise my MS domain account as being valid.

View 1 Replies View Related

Ubuntu Networking :: Samba Configuration And Setting Permissions

Nov 16, 2010

First let me say that Lubuntu is a lightweight version of Ubuntu, so there is not much point in loading it up with unnecessary packages. If you just want to share printers on a Linux network, you don't need Samba. And if you just want a way that users can "push" files to others on a network, use Giver (+ Avahi) as this is a better option. Especially as it sorts out file permissions for you.

To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
* samba
* system-config-samba
* gvfs-bin
* gvfs-backends
...accepting any dependancies, 11 packages in total.

I suggest you re-boot now. As an initial test, go to file manager (pcmanfm) and enter:-
smb://localhost
You should see the local print$ folder listed.

To access folder shares remotely
* open file manager (pcmanfm)
* enter the IP address or computer name of the machine you wish to access
e.g. smb://192.168.0.99 or smb://print-server

To share a folder:-
Go to: Preferences > Samba (enter password when requested)
In the Samba Configuration screen:-
* File > Add Share
* use Browse... to select folder to be shared
* Tick "Visible" and (if required} "Writable"
* In the "Access" select "Allow access to everyone"
Set the Linux permissions:-
* locate the folder to share in file manager
* right click on the folder and select Properties > Permissions
* set the required permissions, e.g. Other: Read & Write (to allow anyone full access)

View 7 Replies View Related

Ubuntu Networking :: Samba Server And User Permissions

Dec 30, 2010

I have a Samba server running on a box where I login to admin as user:
FRED
The Samba users are
SUE
JOE - Read only for specified paths (media playback access only user)
SUE can read/write to any directory under the share: Media

So all that is working fine. As long as I do file operations remotely as SUE everything works remotely. How can I make it to where everything SUE does over Samba FRED automatically has permissions to edit when logged in locally (or SSH)? Also, remember, Joe needs to be able to read where specified.

View 3 Replies View Related

Ubuntu Networking :: Samba Setting Permissions Not Correct

Jun 28, 2011

I am experiencing strange difficulties with Samba. The permissions aren't set correctly, when creating a file or a folder on the mounted samba share.

My smb.conf looks as follows:
Code:
[shareOffice]
path = /home/shareOffice
writable = yes
browseable = yes
create mode = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777

Now if I create a regular file on the folder:
Code:
touch testFile; ls -l
The permissions turn out to be:
Code:
-rwxr-xrwx 1 simon share 0 2011-06-28 21:42 testFile

Why the w bit on the group is missing? If I play around with the create mode / force create mode, I get every other possible permission output --- except the write access for group members.

View 3 Replies View Related

Ubuntu Installation :: Copy /home Without Losing Permissions?

Nov 16, 2010

I backed up my "/home" and "/usr" folders from a previous installation.How can I copy them on to my new installation without losing my permissions?I tried using nautilus, but everything had "Root-only" permissions after I pasted the files.

View 8 Replies View Related

Ubuntu Networking :: Grant Write Permissions For Samba Shares

Aug 27, 2011

I have a Natty headless server that I would like to set up shared directories and grant specific users write permissions. I use a Windows 2008 R2 machine with Active Directory for authentication and have created a group GroupWithWriteAccess which I want to have write access to the shared directory. I want all other users to have read only access. I have edited my smb.conf file with the following

Code:
[TV]
path = /media/share/Media/TV
writeable = yes
write list = primaryuser @GroupWithWriteAccess
create mode = 0660
directory mode = 0770

The machine is fully setup to work with Windows authentication and I can access shares from the ubuntu machine, it's just sharing local directories with the correct permissions that I can't work out. So far I can access the files from my other machine, but I do not have write access even though I am logged on as a user who is a member of GroupWithWriteAccess.

View 1 Replies View Related

Networking :: Samba - Permissions Of Shared Directory And Directories Above It?

Oct 20, 2009

I am running Ubuntu 9.04, and wish to share a folder to be accessed without logging in via Windows Vista. If I set up the share through the nautilus right-click menu and enable "Guest Account", the share is inaccessible. The folder shows up, but it fails to mount. Vista says that it can see the computer, but not the shared folder.

The folder is

/home/william/shared

The only way I can get it to work is if I change the permissions of the folder /home/william to allow Others to access files.

View 1 Replies View Related

CentOS 5 Networking :: Windows Permissions On Samba Share?

Apr 30, 2009

I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.

When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).

View 1 Replies View Related

Networking :: Samba Automount With Full Read / Write Permissions

Mar 24, 2009

I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.

View 1 Replies View Related

Ubuntu :: Display Mount Points On A Partition?

Jan 27, 2010

If there is a partition. e.g /dev/sda1 is there a command that I can use toisplay all mount points on this particular partition.

View 3 Replies View Related

Red Hat :: ISCSI Connection Mount Points?

Feb 18, 2010

want to create a iSCSI connection which mounts /home directory to a share on my NAS via iSCSI. Does anyone know if this is possible on a RHEL 5.4 machine? I am building the server from scratch and then creating the iSCSI mount point in /etc/fstab. After the /home directory is mounted on the mail server, I will copy all the mailboxes over to the /home directory via iSCSI.

View 4 Replies View Related

General :: Different Folders In A Partition As Mount Points?

Apr 7, 2010

i want to have 2 partitions. one is called system. the other is private.

in the private partition i've got some folders i want to mount into system as system folders.

folders in private:

- www
- home

mount points in system:

- /var/www
- /home

is this possible? cause it seems that you can only specify a whole partition to use for a mount point and not a folder in a partition or am i wrong?

i run ubuntu server.

View 2 Replies View Related

General :: Vanishing Mount Points On Unmount?

Jun 19, 2011

When I insert an SD card in the reader, slackware creates a mount point and mounts my card volumes. On unmounting the volumes, the mount point vanishes. How do I achieve this manually?When I attempt to mount a volume using the mount command, the mount point folder must exist and the folder does not vanish on umount. Is there a way to create a mount point if it does not exist? and ensure that the folders vanish on umounting?

View 2 Replies View Related

General :: Show All The Current Mount Points?

Apr 9, 2009

I would like to know how to show all the current mount points in the file system. I tried mount but it didn't show the nfs mount point.

View 5 Replies View Related

General :: NAS Mount Points Not Visible On System

Apr 18, 2011

Coming from non linux bod - but to create mount points on nas that are visible do we have to put entries in both fstab and rc.local?

View 1 Replies View Related

General :: Sequence Of Partitions / Mount Points?

Mar 1, 2011

figure out the best partition layout for my linux installation which I'm about to have on my laptop. Having read numerous articles on partitioning in linux I've gathered some ideas, still there was no let's say a clear explanation as to the sequence the mount points should be arranged on the disc...What I have in mind is to use a single disc space as efficiently as possible considering the head travel. The pc is a laptop, 160GB HDD and will be used as a normal desktop with some simple sound processing. Distro Linux Mint 10. I'm planning to have such partitions and all will come after a Win7 installation:

/boot -> some write it's not necessary in dual-booting, some that it's good to have for security
swap -> with 4GB of RAM i don't suppose i'll use it
/

[code]....

have the most heavily utilised partitions close to each other so the head doesn't move for large distances. The placement also makes a difference as the closer to the inner rim of the disc the worse performance. I'm also not sure about the sizes. Read posts with recommendations but still judging by installations on a different laptop and virtual machine e.g. 5GB for /opt is a bit too much as there's almost nothing in there. Certainly /usr fills up, /var too from what I've observed. / also has scarce data in it so I'm wondering if giving them e.g. 5 gigs each won't be a waste of space resulting in greater head travel.

View 10 Replies View Related

Ubuntu Installation :: Manually Setting Partitions And Mount Points?

May 24, 2011

I have figured out manually setting the swap partition and setting "/" as the mount point for the primary partition during install. If during install, I want to create another partition to keep the OS separate from installed programs and such, to be able to do a clean install every 6 months and not loose everything (or anything) I have done prior.

View 2 Replies View Related

Ubuntu Installation :: Configure Mount Points / Partitions In 11.04 Installer?

Jun 20, 2011

I am having trouble with the advanced partitioning, I dont know what any of the mount points are for. I have a 64GB SSD which I want to use only for the boot files, and I have a 640GB which I want to place everything else on, as to preserve the life of the SSD. How should I configure my mount points/partitions in the ubuntu 11.04 installer?

View 6 Replies View Related

Ubuntu Installation :: (Rant) Can't Edit The Mount Points In The 11.04 Installer?

Sep 1, 2011

I'm fuming about this again after doing my third install of 11.04, this time on one of my laptops. Why was the ability to edit mount points taken away in the 11.04 "Allocate Drive Space" portion of the custom install? In earlier versions, you could choose a mount point in the file system from a drop down (i.e. mount this partition as /, or /home, or /opt, etc.). You could also enter your own location to suit your needs. This allowed me to do tricks like mount my home partition under /media/home, to prevent my settings being clobbered by the installer (later, after integrating the settings created by the installer with the settings in my home directory, I could edit fstab to mount the home partition in its rightful /home location). Or to put my windows partitions under /media/WinXP or put my old Linux parition under /media/oldlinux. I could do whatever I want. Now, I have limited options. I can only choose a location from the drop-down. I cannot edit it. Want to mount a partition under /media/home? Tough. Want to mount Window under /media? Nope. Can't. Instead, if I select an ntfs partition, I only get the choice of mounting it under /dos or /windows. WTF do I do if I have three windows partitions (like I do on my desktop)?

Listen, if I'm doing a custom install, and I know enough to partition my drive, don't you imagine I don't need the mount point option dumbed down for me? If I've gotten to this point, I obviously know what I'm doing (or, if I don't, I'm already screwed bcuase I'll probably nuke a partition that I want to keep)limiting my choices here is stupid. I know, I can clean this up afterwards by editing fstab or using some other tool but my question is, why should I have to? What's the logic in removing this options from the user?

View 1 Replies View Related

Debian Configuration :: Fresh Install - Using LVM For Mount Points

Feb 6, 2011

I'll start a fresh installation of a debian stable server and I would like to use LVM on this. So, I started to read lots of documents about LVM and found different flavors on partitioning with it. I'm thinking in a partition schema which might use LVM for those mount points that tends to grow in time, for instance:

/boot (primary partition)
/ (primary partition)
/home (lvm)
/usr (lvm)
/var (lvm)
swap (lvm)

Am I right on this schema?

View 2 Replies View Related

Fedora :: Convention For Permanent Partition Mount Points?

Aug 24, 2009

If /mnt & /media are for temporary mount points and removable drives, what is the usual convention for locating permanently mounted partitions for all users on the computer? e.g. I have a partition for photographs, I'll just call it "photos" would it be bad form to mount it as /photos or something like /my_hdd/photos ?In practice it probably won't matter, but I want to make sure it's easy for anyone else to perform admin tasks on the computer when I'm not available.

View 2 Replies View Related

OpenSUSE Hardware :: How To Put Mount Points For New Extra Disks

Aug 24, 2010

how do i mount extra harddrives...?

- After a hardrive crash which took out my opensuse 11.2, I installed three new harddrives instead of the old ones. I have installed xp. To see of I could triple boot, i thereafter put in linux mint. I did not like that and installed opensuse 11.3 - to ensure it would place itself on the two second harddrives (formatted in ntfs and with some data on) i before installation took those cables off.. And now alas.. there are no mount points.

So I tried yast, and found the partitioner, chose edit tried to put mount points .. however.. nothing seemed to have happened...

View 9 Replies View Related

General :: Use Network Drives As Mount Points During Installation?

Apr 7, 2010

Is it possible to use network storage locations as mount points during installation?

cause i want to separate system (ubuntu) with data (personal files).

eg. if i have 5 computers i don't want to recreate /home/david 5 times.

so i want to mount networkdrive/home to /home in local ubuntu server.

so ALL users home folders could be used and maybe also networkdrive/projects to /projects.

in that way its ok if i by accident repartitioned the local ubuntu server cause all data is not there on that server, but in the data server.

is separating "data" from "logic" good in this case?

and is it possible? what protocol should i use for the mapping over internet? (maybe the server is in Sweden, and the data is in Norway).

View 1 Replies View Related







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